Pagini recente » Borderou de evaluare (job #906963) | Borderou de evaluare (job #2499042) | Cod sursa (job #568245) | Borderou de evaluare (job #432879) | Borderou de evaluare (job #1341572)
Borderou de evaluare (job #1341572)
Raport evaluator
Compilare:
user.cpp: In function ‘void cit()’:
user.cpp:45:17: warning: NULL used in arithmetic [-Wpointer-arith]
while(s[i]!=NULL){
^
user.cpp: In function ‘int main()’:
user.cpp:87:21: warning: NULL used in arithmetic [-Wpointer-arith]
while(s[j]!=NULL){
^
user.cpp: In function ‘void cit()’:
user.cpp:44:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp: In function ‘int main()’:
user.cpp:60:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("stramosi.in","r",stdin);
^
user.cpp:61:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("stramosi.out","w",stdout);
^
user.cpp:64:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d\n",&n,&m);
^
user.cpp:80:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/ccmi6kwV.o: In function `cit()':
user.cpp:(.text+0x125): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | OK! | 10 |
2 | 0ms | 316kb | OK! | 10 |
3 | 0ms | 344kb | OK! | 10 |
4 | 8ms | 1052kb | OK! | 10 |
5 | 12ms | 1052kb | OK! | 10 |
6 | 56ms | 2820kb | OK! | 10 |
7 | 92ms | 5504kb | OK! | 10 |
8 | 152ms | 8124kb | OK! | 10 |
9 | 516ms | 16372kb | OK! | 10 |
10 | 616ms | 20424kb | OK! | 10 |
Punctaj total | 100 |