Pagini recente » Rezultatele filtrării | Cod sursa (job #3296981) | Borderou de evaluare (job #1900548) | Cod sursa (job #2188094) | Borderou de evaluare (job #2014767)
Borderou de evaluare (job #2014767)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:51:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("sub.in", "r", stdin);
^
user.cpp:52:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("sub.out", "w", stdout);
^
user.cpp:55:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &n);
^
user.cpp:61:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
user.cpp:78:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &m);
^
user.cpp:83:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
/tmp/ccxdgPN2.o: In function `main':
user.cpp:(.text.startup+0xdf): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 680kb | Incorect | 0 |
2 | 4ms | 2376kb | Incorect | 0 |
3 | 24ms | 10220kb | Incorect | 0 |
4 | 148ms | 62424kb | Incorect | 0 |
5 | 4ms | 2868kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 4ms | 2964kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 24ms | 6660kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 28ms | 6744kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 28ms | 6760kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 24ms | 6596kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |