Pagini recente » Borderou de evaluare (job #2235770) | Borderou de evaluare (job #395422) | Borderou de evaluare (job #2950365) | Borderou de evaluare (job #953027) | Borderou de evaluare (job #1585317)
Borderou de evaluare (job #1585317)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf( "%d", &A[i][j] );
^
user.cpp:35:80: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if( (i != 1 || j != 1) || (i != X || j != X) || (i != N || j != M) && (i + j) % 2 != P[k] )
^
user.cpp:15:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen( "cri.in" , "r", stdin );
^
user.cpp:16:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen( "cri.out", "w", stdout );
^
user.cpp:18:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf( "%d %d %d %d", &N, &M, &X, &Y );
^
user.cpp:21:32: 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 | 0ms | 360kb | OK | 5 |
2 | 0ms | 568kb | OK | 5 |
3 | 16ms | 964kb | OK | 5 |
4 | 20ms | 1172kb | OK | 5 |
5 | 56ms | 1772kb | OK | 5 |
6 | 0ms | 288kb | Ultimele doua numere gresite | 1 |
7 | 0ms | 296kb | Ultimele doua numere gresite | 1 |
8 | 64ms | 1776kb | OK | 5 |
9 | 0ms | 332kb | Ultimele doua numere gresite | 1 |
10 | 64ms | 1772kb | OK | 5 |
11 | 0ms | 324kb | Raspuns gresit | 0 |
12 | 0ms | 364kb | Raspuns gresit | 0 |
13 | 0ms | 324kb | OK | 5 |
14 | 0ms | 568kb | OK | 5 |
15 | 20ms | 1172kb | OK | 5 |
16 | 0ms | 360kb | Raspuns gresit | 0 |
17 | 16ms | 964kb | OK | 5 |
18 | 0ms | 292kb | Raspuns gresit | 0 |
19 | 64ms | 1780kb | OK | 5 |
20 | 0ms | 292kb | Ultimele doua numere gresite | 1 |
Punctaj total | 64 |