Pagini recente » Borderou de evaluare (job #2330799) | Borderou de evaluare (job #3260272) | Borderou de evaluare (job #2394580) | Borderou de evaluare (job #1872241) | Borderou de evaluare (job #1635954)
Borderou de evaluare (job #1635954)
Raport evaluator
Compilare:
user.cpp: In function ‘void fill_2(int, int, int)’:
user.cpp:47:11: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if( new_x >= 1 && new_x <= N && new_y >= 1 && new_y <= M )
^
user.cpp: In function ‘int main()’:
user.cpp:61:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen( "unlock.in" , "r", stdin );
^
user.cpp:62:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen( "unlock.out", "w", stdout );
^
user.cpp:64:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf( "%d", &T );
^
user.cpp:66:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf( "%d %d %d", &N, &M, &K ); nr_comp = 0; answer = 0;
^
user.cpp:70:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf( "%d", &A[i][j] );
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 684ms | 4956kb | OK | 100 |
Punctaj total | 100 |