Pagini recente » Borderou de evaluare (job #64321) | Borderou de evaluare (job #566405) | Borderou de evaluare (job #361637) | Borderou de evaluare (job #1393716) | Borderou de evaluare (job #2127012)
Borderou de evaluare (job #2127012)
Raport evaluator
Compilare:
user.cpp: In function ‘void p2()’:
user.cpp:98:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘bool*’ [-Wformat=]
scanf("%d ", &cas[i][j]);
^
user.cpp: In function ‘void p1()’:
user.cpp:31:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:41:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %c", &nr, &s);
^
user.cpp: In function ‘void p2()’:
user.cpp:91:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &n, &m);
^
user.cpp:98:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &cas[i][j]);
^
user.cpp: In function ‘int main()’:
user.cpp:152: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:153: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);
^
user.cpp:154:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &p);
^
user.cpp: In function ‘void p2()’:
user.cpp:108:20: warning: ‘col’ may be used uninitialized in this function [-Wmaybe-uninitialized]
cas[1][col] = 0;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1320kb | OK | 10 |
2 | 0ms | 1328kb | OK | 10 |
3 | 8ms | 1400kb | OK | 10 |
4 | 48ms | 1880kb | OK | 10 |
5 | 40ms | 3344kb | OK | 10 |
6 | 40ms | 1792kb | OK | 10 |
7 | 8ms | 1324kb | OK | 10 |
8 | 16ms | 1444kb | OK | 10 |
9 | 44ms | 1744kb | OK | 10 |
10 | 36ms | 2280kb | OK | 10 |
Punctaj total | 100 |