Borderou de evaluare (job #1518592)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:49:18: warning: NULL used in arithmetic [-Wpointer-arith]
if(s[0]==NULL)
^
user.cpp:31:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("abc2.in", "r", stdin);
^
user.cpp:32:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("abc2.out", "w", stdout);
^
user.cpp:35:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c", &c);
^
user.cpp:38:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c", &c);
^
user.cpp:40:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:48:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/ccUjsasr.o: In function `main':
user.cpp:(.text.startup+0x8e): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | Depăşit | 1188kb | Time limit exceeded. | 0 | 0 |
2 | Depăşit | 1184kb | Time limit exceeded. | 0 |
3 | Depăşit | 1184kb | Time limit exceeded. | 0 |
4 | Depăşit | 1240kb | Time limit exceeded. | 0 |
5 | Depăşit | 1268kb | Time limit exceeded. | 0 |
6 | Depăşit | 1776kb | Time limit exceeded. | 0 |
7 | Depăşit | 5680kb | Time limit exceeded. | 0 |
8 | Depăşit | 10556kb | Time limit exceeded. | 0 |
9 | Depăşit | 10364kb | Time limit exceeded. | 0 |
10 | Depăşit | 9696kb | Time limit exceeded. | 0 |
Punctaj total | 0 |