Pagini recente » Borderou de evaluare (job #2618446) | Borderou de evaluare (job #217809) | Borderou de evaluare (job #171019) | Borderou de evaluare (job #3213323) | Borderou de evaluare (job #1686526)
Borderou de evaluare (job #1686526)
Raport evaluator
Compilare:
user.cpp: In function ‘void task2()’:
user.cpp:55:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘bool*’ [-Wformat=]
scanf("%d", &a[(i - 1) * m + j]);
^
user.cpp:50:15: warning: unused variable ‘r’ [-Wunused-variable]
int i, j, r, d;
^
user.cpp:50:18: warning: unused variable ‘d’ [-Wunused-variable]
int i, j, r, d;
^
user.cpp: In function ‘void write()’:
user.cpp:109:13: warning: unused variable ‘ak’ [-Wunused-variable]
int ak = 47;
^
user.cpp: In function ‘void read()’:
user.cpp:18:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("casa.in", "r", stdin);
^
user.cpp:19:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &p);
^
user.cpp: In function ‘void task1()’:
user.cpp:25:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &nr);
^
user.cpp:29:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %c\n", &r, &d);
^
user.cpp: In function ‘void task2()’:
user.cpp:51:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
user.cpp:55:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[(i - 1) * m + j]);
^
user.cpp: In function ‘void write()’:
user.cpp:72:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("casa.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 456kb | OK | 10 |
2 | 0ms | 464kb | OK | 10 |
3 | 4ms | 544kb | OK | 10 |
4 | 44ms | 1108kb | OK | 10 |
5 | 44ms | 1020kb | OK | 10 |
6 | 40ms | 1012kb | OK | 10 |
7 | 8ms | 504kb | Incorect | 0 |
8 | 16ms | 560kb | OK | 10 |
9 | 28ms | 920kb | Incorect | 0 |
10 | 36ms | 980kb | OK | 10 |
Punctaj total | 80 |