Pagini recente » Borderou de evaluare (job #2028768) | Borderou de evaluare (job #2857887) | Borderou de evaluare (job #2364788) | Monitorul de evaluare | Borderou de evaluare (job #1601493)
Borderou de evaluare (job #1601493)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d %ld %ld", &m, &n, &p);
^
user.cpp:20:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=]
scanf("%d ", &a[i][0]);
^
user.cpp:25:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=]
scanf("%d ", &a[i][j]);
^
user.cpp:9:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("livada.in","r",stdin);
^
user.cpp:10:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("livada.out","w",stdout);
^
user.cpp:14:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %ld %ld", &m, &n, &p);
^
user.cpp:20:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &a[i][0]);
^
user.cpp:25:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &a[i][j]);
^
user.cpp:43: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 | 376kb | OK! | 10 |
| 2 | 0ms | 368kb | OK! | 10 |
| 3 | 28ms | 1368kb | Prima linie corecta! | 4 |
| 4 | 68ms | 1356kb | OK! | 10 |
| 5 | 144ms | 1540kb | OK! | 10 |
| 6 | 244ms | 1284kb | OK! | 10 |
| 7 | 236ms | 1296kb | OK! | 10 |
| 8 | 232ms | 488kb | OK! | 10 |
| 9 | 0ms | 244kb | Killed by signal 11(SIGSEGV). | 0 |
| 10 | 232ms | 952kb | OK! | 10 |
| Punctaj total | 84 |