Pagini recente » Borderou de evaluare (job #2264070) | Borderou de evaluare (job #1850869) | Borderou de evaluare (job #833651) | Borderou de evaluare (job #942557) | Borderou de evaluare (job #1560143)
Borderou de evaluare (job #1560143)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:19:15: warning: unused variable ‘p’ [-Wunused-variable]
int i, k, p;
^
user.cpp:20:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
user.cpp: In function ‘void rsw()’:
user.cpp:82:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("doi.in", "r", stdin);
^
user.cpp:83:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("doi.out", "w", stdout);
^
user.cpp:84:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &t);
^
/tmp/cckmpbP1.o: In function `read()':
user.cpp:(.text+0xa5): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 448kb | OK | 10 |
2 | 0ms | 452kb | OK | 10 |
3 | Depăşit | 432kb | Time limit exceeded. | 0 |
4 | 0ms | 448kb | OK | 10 |
5 | 0ms | 448kb | OK | 10 |
6 | 32ms | 452kb | OK | 10 |
7 | 172ms | 452kb | OK | 10 |
8 | Depăşit | 432kb | Time limit exceeded. | 0 |
9 | 144ms | 448kb | OK | 10 |
10 | 64ms | 444kb | OK | 10 |
Punctaj total | 80 |