Pagini recente » Borderou de evaluare (job #922438) | Borderou de evaluare (job #2391048) | Borderou de evaluare (job #2347571) | Borderou de evaluare (job #2629288) | Borderou de evaluare (job #1465226)
Borderou de evaluare (job #1465226)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:13:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("redu.in", "r", stdin);
^
user.cpp:14:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("redu.out", "w", stdout);
^
user.cpp:15:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:16:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:19:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &c[i][j]);
^
/tmp/ccqtDbHU.o: In function `read()':
user.cpp:(.text+0x61): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 300kb | OK | 10 |
2 | 0ms | 316kb | OK | 10 |
3 | 0ms | 372kb | OK | 10 |
4 | 0ms | 472kb | OK | 10 |
5 | 16ms | 868kb | OK | 10 |
6 | 80ms | 1260kb | OK | 10 |
7 | 80ms | 1256kb | OK | 10 |
8 | 80ms | 1260kb | OK | 10 |
9 | 80ms | 1256kb | OK | 10 |
10 | 80ms | 1260kb | OK | 10 |
Punctaj total | 100 |