Pagini recente » Borderou de evaluare (job #45177) | Borderou de evaluare (job #3168815) | Borderou de evaluare (job #3275238) | Borderou de evaluare (job #323507) | Borderou de evaluare (job #1190866)
Borderou de evaluare (job #1190866)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:26:34: warning: format ‘%c’ expects argument of type ‘char*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%c",&mat[i][j]);
^
user.cpp:68:13: warning: unused variable ‘ok’ [-Wunused-variable]
int x,y,ok=0,min=MAX*MAX;
^
user.cpp:20:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("insule.in","r",stdin);
^
user.cpp:21:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("insule.out","w",stdout);
^
user.cpp:23:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n",&n,&m);
^
user.cpp:26:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&mat[i][j]);
^
user.cpp:34:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 308kb | OK! | 10 |
2 | 0ms | 288kb | OK! | 10 |
3 | 0ms | 296kb | OK! | 10 |
4 | 0ms | 344kb | OK! | 10 |
5 | 0ms | 420kb | OK! | 10 |
6 | 0ms | 360kb | OK! | 10 |
7 | 0ms | 380kb | OK! | 10 |
8 | 0ms | 412kb | OK! | 10 |
9 | 0ms | 352kb | OK! | 10 |
10 | 0ms | 356kb | OK! | 10 |
Punctaj total | 100 |