Pagini recente » Borderou de evaluare (job #2857121) | Borderou de evaluare (job #1551829) | Borderou de evaluare (job #2053432) | Borderou de evaluare (job #2682895) | Borderou de evaluare (job #1390609)
Borderou de evaluare (job #1390609)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:24:11: warning: unused variable ‘x’ [-Wunused-variable]
int n,x;
^
user.cpp: In function ‘int read()’:
user.cpp:11:45: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
if (cnt == 12345) gets(pars),cnt = 0;
^
user.cpp:18:45: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
if (cnt == 12345) gets(pars),cnt = 0;
^
user.cpp: In function ‘int main()’:
user.cpp:25:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("k1.in","r",stdin);
^
user.cpp:27:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(pars);
^
/tmp/cc9tB0Q1.o: In function `read()':
user.cpp:(.text+0x66): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 412kb | OK | 10 |
| 2 | 0ms | 408kb | Incorect | 0 |
| 3 | 0ms | 412kb | Incorect | 0 |
| 4 | 176ms | 652kb | Incorect | 0 |
| 5 | Depăşit | 928kb | Time limit exceeded. | 0 |
| 6 | Depăşit | 712kb | Time limit exceeded. | 0 |
| 7 | Depăşit | 956kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 760kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 932kb | Time limit exceeded. | 0 |
| 10 | 0ms | 408kb | OK | 10 |
| Punctaj total | 20 |