Pagini recente » Borderou de evaluare (job #254360) | Borderou de evaluare (job #183625) | Cod sursa (job #3204655) | Borderou de evaluare (job #2463388) | Borderou de evaluare (job #1804018)
Borderou de evaluare (job #1804018)
Raport evaluator
Compilare:
user.cpp: In function ‘void parsare()’:
user.cpp:26:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a);
^
user.cpp: In function ‘void citire()’:
user.cpp:61:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n",&n,&k);
^
user.cpp: In function ‘int main()’:
user.cpp:101:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secventa.in","r",stdin);
^
user.cpp:102:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secventa.out","w",stdout);
^
/tmp/ccurr591.o: In function `parsare()':
user.cpp:(.text+0xcb): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 452kb | OK | 10 |
| 2 | 0ms | 588kb | OK | 10 |
| 3 | 4ms | 1088kb | OK | 10 |
| 4 | 4ms | 1176kb | OK | 10 |
| 5 | 8ms | 1424kb | OK | 10 |
| 6 | 8ms | 1620kb | OK | 10 |
| 7 | 16ms | 2396kb | OK | 10 |
| 8 | 24ms | 3380kb | OK | 10 |
| 9 | 32ms | 4356kb | OK | 10 |
| 10 | 40ms | 5332kb | OK | 10 |
| Punctaj total | 100 |