Pagini recente » Borderou de evaluare (job #71436) | Borderou de evaluare (job #3159534) | Borderou de evaluare (job #1589813) | Borderou de evaluare (job #1814523) | Borderou de evaluare (job #1428629)
Borderou de evaluare (job #1428629)
Raport evaluator
Compilare:
user.cpp: In function ‘int buildhash()’:
user.cpp:28:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:30:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("string.in","r",stdin);
^
user.cpp:31:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("string.out","w",stdout);
^
user.cpp:32:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:33:10: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1); put2[0]=1;
^
/tmp/ccVYAsWv.o: In function `main':
user.cpp:(.text.startup+0x72): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 324kb | OK! | 10 |
2 | 0ms | 328kb | OK! | 10 |
3 | 0ms | 320kb | OK! | 10 |
4 | 0ms | 344kb | OK! | 10 |
5 | 4ms | 880kb | Killed by signal 6(SIGABRT). | 0 |
6 | 28ms | 584kb | OK! | 10 |
7 | 52ms | 800kb | OK! | 10 |
8 | 4ms | 880kb | Killed by signal 6(SIGABRT). | 0 |
9 | 20ms | 520kb | OK! | 10 |
10 | 40ms | 708kb | OK! | 10 |
Punctaj total | 80 |