Pagini recente » Borderou de evaluare (job #2576363) | Borderou de evaluare (job #1895699) | Borderou de evaluare (job #1837366) | Borderou de evaluare (job #1514791) | Borderou de evaluare (job #1715977)
Borderou de evaluare (job #1715977)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:72:34: 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:73:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:77:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(w + 1);
^
user.cpp: In function ‘void solve()’:
user.cpp:86:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &m);
^
user.cpp:89:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(w + 1);
^
user.cpp: In function ‘void write()’:
user.cpp:98:36: 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);
^
/tmp/cc0f34jQ.o: In function `read()':
user.cpp:(.text+0x249): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 440kb | OK | 10 |
2 | 0ms | 1176kb | OK | 10 |
3 | 4ms | 4800kb | OK | 10 |
4 | 8ms | 6876kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 4ms | 6880kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 4ms | 6876kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 4ms | 6880kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 4ms | 6876kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 4ms | 6876kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 4ms | 6880kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 30 |