Pagini recente » Borderou de evaluare (job #1171990) | Borderou de evaluare (job #3267265) | Borderou de evaluare (job #262882) | Borderou de evaluare (job #1607479) | Borderou de evaluare (job #1655832)
Borderou de evaluare (job #1655832)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:39:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("virus.in","r",stdin);
^
user.cpp:40:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("virus.out","w",stdout);
^
user.cpp:42:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d ",&n,&m);
^
user.cpp:43:11: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1);
^
user.cpp:47:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&q);
^
user.cpp:48:17: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(sq+1);
^
/tmp/cchLYK5T.o: In function `main':
user.cpp:(.text.startup+0x7a): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 364ms | 344kb | OK | 10 |
2 | 4ms | 280kb | OK | 10 |
3 | 0ms | 436kb | Killed by signal 6(SIGABRT). | 0 |
4 | 388ms | 356kb | OK | 10 |
5 | 540ms | 372kb | OK | 10 |
6 | 216ms | 336kb | OK | 10 |
7 | 0ms | 436kb | Killed by signal 6(SIGABRT). | 0 |
8 | 0ms | 436kb | Killed by signal 6(SIGABRT). | 0 |
9 | 272ms | 328kb | OK | 10 |
10 | 36ms | 276kb | OK | 10 |
Punctaj total | 70 |