Pagini recente » Cod sursa (job #1986972) | Cod sursa (job #415644) | Monitorul de evaluare | Cod sursa (job #264955) | Borderou de evaluare (job #1390600)
Borderou de evaluare (job #1390600)
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:46: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
if (cnt == 666013) gets(pars),cnt = 0;
^
user.cpp:18:46: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
if (cnt == 666013) 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/cc3cc9uW.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 | 8ms | 412kb | OK | 10 |
| 2 | 8ms | 408kb | Incorect | 0 |
| 3 | 8ms | 412kb | Incorect | 0 |
| 4 | Depăşit | 380kb | Time limit exceeded. | 0 |
| 5 | Depăşit | 384kb | Time limit exceeded. | 0 |
| 6 | Depăşit | 388kb | Time limit exceeded. | 0 |
| 7 | Depăşit | 388kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 388kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 388kb | Time limit exceeded. | 0 |
| 10 | 4ms | 412kb | OK | 10 |
| Punctaj total | 20 |