Pagini recente » Borderou de evaluare (job #2005935) | Borderou de evaluare (job #1241099) | Borderou de evaluare (job #1132294) | Borderou de evaluare (job #335883) | Borderou de evaluare (job #2127088)
Borderou de evaluare (job #2127088)
Raport evaluator
Compilare:
user.cpp: In function ‘void val2()’:
user.cpp:75:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘bool*’ [-Wformat=]
scanf("%d ", &a[i][j]);
^
user.cpp: In function ‘void val1()’:
user.cpp:13:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:22:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %c", &nr, &poz);
^
user.cpp: In function ‘void val2()’:
user.cpp:68: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:75:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &a[i][j]);
^
user.cpp: In function ‘int main()’:
user.cpp:135: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:136: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:137:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 760kb | OK | 10 |
2 | 0ms | 796kb | OK | 10 |
3 | 4ms | 796kb | OK | 10 |
4 | 44ms | 1336kb | OK | 10 |
5 | 36ms | 1260kb | OK | 10 |
6 | 40ms | 1260kb | OK | 10 |
7 | 8ms | 800kb | Incorect | 0 |
8 | 16ms | 860kb | OK | 10 |
9 | 28ms | 1128kb | Incorect | 0 |
10 | 32ms | 1184kb | OK | 10 |
Punctaj total | 80 |