Pagini recente » Borderou de evaluare (job #694691) | Borderou de evaluare (job #1322063) | Borderou de evaluare (job #1279818) | Borderou de evaluare (job #2807996) | Borderou de evaluare (job #1585310)
Borderou de evaluare (job #1585310)
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 | 572kb | OK | 5 |
| 3 | 16ms | 964kb | OK | 5 |
| 4 | 20ms | 1176kb | OK | 5 |
| 5 | 84ms | 1768kb | OK | 5 |
| 6 | 0ms | 296kb | Ultimele doua numere gresite | 1 |
| 7 | 0ms | 300kb | Ultimele doua numere gresite | 1 |
| 8 | 64ms | 1780kb | OK | 5 |
| 9 | 0ms | 336kb | Ultimele doua numere gresite | 1 |
| 10 | 64ms | 1780kb | OK | 5 |
| 11 | 0ms | 336kb | Raspuns gresit | 0 |
| 12 | 0ms | 364kb | OK | 5 |
| 13 | 0ms | 332kb | Raspuns gresit | 0 |
| 14 | 0ms | 572kb | OK | 5 |
| 15 | 20ms | 1176kb | OK | 5 |
| 16 | 0ms | 372kb | Raspuns gresit | 0 |
| 17 | 16ms | 968kb | OK | 5 |
| 18 | 0ms | 296kb | Raspuns gresit | 0 |
| 19 | 68ms | 1784kb | OK | 5 |
| 20 | 0ms | 300kb | Ultimele doua numere gresite | 1 |
| Punctaj total | 64 |