Pagini recente » Borderou de evaluare (job #65488) | Borderou de evaluare (job #2540061) | Borderou de evaluare (job #1239209) | Borderou de evaluare (job #778169) | Borderou de evaluare (job #1487134)
Borderou de evaluare (job #1487134)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:11:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("parantezare.in", "r", stdin);
^
user.cpp:12:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("parantezare.out", "w", stdout);
^
user.cpp:13:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:15:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m);
^
user.cpp:17:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
/tmp/ccNgnj4k.o: In function `read()':
user.cpp:(.text+0x4f): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | OK | 10 |
2 | 0ms | 280kb | OK | 10 |
3 | 0ms | 284kb | OK | 10 |
4 | 0ms | 284kb | OK | 10 |
5 | 0ms | 288kb | OK | 10 |
6 | 0ms | 288kb | OK | 10 |
7 | 0ms | 312kb | OK | 10 |
8 | 0ms | 316kb | OK | 10 |
9 | 0ms | 564kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 4ms | 584kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 80 |