Pagini recente » Borderou de evaluare (job #2189199) | Borderou de evaluare (job #1958557) | Borderou de evaluare (job #2276010) | Borderou de evaluare (job #574643) | Borderou de evaluare (job #1512874)
Borderou de evaluare (job #1512874)
Raport evaluator
Compilare:
user.cpp: In function ‘void build(int, int, int)’:
user.cpp:20:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if ( left <= right )
^
user.cpp: In function ‘int getMax(int, int, int, int, int)’:
user.cpp:37:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if ( left <= right )
^
user.cpp: In function ‘int update(int, int, int, int, int)’:
user.cpp:57:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if ( left <= right )
^
user.cpp:71:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘void read()’:
user.cpp:12:37: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf ( f , "%d %d" , &N , &M );
^
user.cpp:14:44: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf ( f , "%d" , &myInts [ i ] );
^
user.cpp: In function ‘int getMax(int, int, int, int, int)’:
user.cpp:52:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:82:52: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf ( f , "%d %d %d" , &type , &a , &b );
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 268kb | OK | 10 | 10 |
2 | 8ms | 264kb | OK | 10 | 10 |
3 | 8ms | 292kb | OK | 10 | 10 |
4 | 36ms | 352kb | OK | 10 | 10 |
5 | 52ms | 1564kb | OK | 10 | 10 |
6 | 64ms | 1640kb | OK | 10 | 50 |
7 | 180ms | 1672kb | OK | 10 |
8 | 152ms | 1624kb | OK | 10 |
9 | 152ms | 1660kb | OK | 10 |
10 | 156ms | 1676kb | OK | 10 |
Punctaj total | 100 |