Pagini recente » Borderou de evaluare (job #1262039) | Borderou de evaluare (job #2407033) | Borderou de evaluare (job #2178680) | Borderou de evaluare (job #1410464) | Borderou de evaluare (job #1626028)
Borderou de evaluare (job #1626028)
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/ccSBdeAR.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 | 840kb | OK | 10 |
2 | 0ms | 840kb | OK | 10 |
3 | 0ms | 836kb | OK | 10 |
4 | 0ms | 836kb | OK | 10 |
5 | 0ms | 844kb | OK | 10 |
6 | 0ms | 820kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 0ms | 844kb | OK | 10 |
8 | 0ms | 800kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 824kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 840kb | OK | 10 |
Punctaj total | 70 |