Pagini recente » Borderou de evaluare (job #1775344) | Borderou de evaluare (job #1336151) | Borderou de evaluare (job #1845324) | Borderou de evaluare (job #2702334) | Borderou de evaluare (job #1639690)
Borderou de evaluare (job #1639690)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:53:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("randuri.in", "r", stdin);
^
user.cpp:54:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("randuri.out", "w", stdout);
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from user.cpp:1:
In function ‘char* gets(char*)’,
inlined from ‘void citire()’ at user.cpp:14:26:
/usr/include/i386-linux-gnu/bits/stdio2.h:230:28: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size [enabled by default]
return __gets_warn (__str);
^
user.cpp: In function ‘void eliminare()’:
user.cpp:39:44: warning: ‘pos’ may be used uninitialized in this function [-Wmaybe-uninitialized]
viz[pos] = true;
^
/tmp/ccqC7zAf.o: In function `citire()':
user.cpp:(.text+0x43): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 440kb | OK | 10 | 20 |
2 | 0ms | 432kb | OK | 10 |
3 | 0ms | 432kb | OK | 10 | 0 |
4 | 0ms | 432kb | OK | 10 |
5 | 0ms | 428kb | Incorect | 0 |
6 | 0ms | 432kb | Incorect | 0 |
7 | 0ms | 436kb | Incorect | 0 | 0 |
8 | 0ms | 444kb | Incorect | 0 |
9 | 0ms | 436kb | Incorect | 0 |
10 | 0ms | 428kb | OK | 10 |
Punctaj total | 20 |