Pagini recente » Borderou de evaluare (job #2723753) | Borderou de evaluare (job #1858709) | Borderou de evaluare (job #1320527) | Borderou de evaluare (job #2670080) | Borderou de evaluare (job #1248400)
Borderou de evaluare (job #1248400)
Raport evaluator
Compilare:
user.cpp: In member function ‘int Mare::zero()’:
user.cpp:210:35: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
return A[0] == 0 || A[0] == 1 && A[1] == 0 ;
^
user.cpp: In member function ‘void Mare::radical_normal(Mare&, int)’:
user.cpp:407:59: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if ( !C.zero () || i == 3 + ( X[0] % 2 == 0 ) && AUX ) {
^
user.cpp: In function ‘int main()’:
user.cpp:435:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bubblesort.in", "r", stdin);
^
user.cpp:436:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bubblesort.out", "w", stdout);
^
user.cpp:439:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d ", &n, &m);
^
user.cpp:441:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(x);
^
/tmp/cchnmdJ5.o: In function `main':
user.cpp:(.text.startup+0x72): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 320kb | OK | 10 |
2 | 0ms | 320kb | OK | 10 |
3 | 0ms | 324kb | OK | 10 |
4 | 4ms | 320kb | OK | 10 |
5 | 4ms | 324kb | OK | 10 |
6 | 80ms | 316kb | OK | 10 |
7 | 128ms | 320kb | OK | 10 |
8 | 144ms | 324kb | OK | 10 |
9 | 188ms | 320kb | OK | 10 |
10 | 0ms | 324kb | OK | 10 |
Punctaj total | 100 |