Pagini recente » Borderou de evaluare (job #3187176) | Borderou de evaluare (job #1726828) | Borderou de evaluare (job #2791635) | Borderou de evaluare (job #1263947) | Borderou de evaluare (job #1487135)
Borderou de evaluare (job #1487135)
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/ccvAlsTE.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 | 272kb | OK | 10 |
| 2 | 0ms | 288kb | OK | 10 |
| 3 | 0ms | 284kb | OK | 10 |
| 4 | 0ms | 284kb | OK | 10 |
| 5 | 0ms | 284kb | OK | 10 |
| 6 | 0ms | 288kb | OK | 10 |
| 7 | 0ms | 316kb | OK | 10 |
| 8 | 0ms | 316kb | OK | 10 |
| 9 | 4ms | 780kb | OK | 10 |
| 10 | 4ms | 780kb | OK | 10 |
| Punctaj total | 100 |