Submission #707224

# Submission time Handle Problem Language Result Execution time Memory
707224 2023-03-08T15:37:29 Z rainboy Drawing (CEOI22_drawing) C
0 / 100
9 ms 1236 KB
#include <stdio.h>

int main() {
	int n, i;

	scanf("%d", &n);
	for (i = 1; i < n; i++)
		printf("1 %d\n", i + 1);
	return 0;
}

Compilation message

Main.c: In function 'main':
Main.c:6:2: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result]
    6 |  scanf("%d", &n);
      |  ^~~~~~~~~~~~~~~
# Verdict Execution time Memory Grader output
1 Incorrect 9 ms 1236 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 296 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 296 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 296 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 9 ms 1236 KB Output isn't correct
2 Halted 0 ms 0 KB -