Pagini recente » Borderou de evaluare (job #1653280) | Borderou de evaluare (job #1594563) | Borderou de evaluare (job #764565) | Borderou de evaluare (job #694561) | Borderou de evaluare (job #1625993)
Borderou de evaluare (job #1625993)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:23:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bifo.in", "r", stdin);
^
user.cpp:24:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a + 1);
^
user.cpp:25:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(b + 1);
^
user.cpp: In function ‘void write()’:
user.cpp:129:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bifo.out", "w", stdout);
^
user.cpp:130:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &m);
^
user.cpp:133:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(q + 1);
^
user.cpp: In function ‘char solve()’:
user.cpp:125:17: warning: ‘j’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return chs(j);
^
/tmp/ccEFHrF8.o: In function `read()':
user.cpp:(.text+0xf0): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 480kb | OK | 10 |
2 | 0ms | 472kb | OK | 10 |
3 | 0ms | 472kb | OK | 10 |
4 | 0ms | 476kb | OK | 10 |
5 | 0ms | 472kb | OK | 10 |
6 | 0ms | 464kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 0ms | 476kb | OK | 10 |
8 | 0ms | 440kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 456kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 472kb | OK | 10 |
Punctaj total | 70 |