Pagini recente » Borderou de evaluare (job #1928959) | Borderou de evaluare (job #422257) | Borderou de evaluare (job #2090673) | Borderou de evaluare (job #70911) | Borderou de evaluare (job #2165590)
Borderou de evaluare (job #2165590)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:26:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=]
fscanf(fi, "%d", &mat[i][j]);
^
user.cpp:29:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=]
fscanf(fi, "%d", &mv[i]);
^
user.cpp:23:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi, "%hd", &n);
^
user.cpp:26:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi, "%d", &mat[i][j]);
^
user.cpp:27:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi, "%hd", &k);
^
user.cpp:29:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi, "%d", &mv[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1360kb | OKAY! | 10 |
2 | 0ms | 1568kb | OKAY! | 10 |
3 | 0ms | 1728kb | OKAY! | 10 |
4 | 4ms | 2032kb | OKAY! | 10 |
5 | 4ms | 4356kb | OKAY! | 10 |
6 | 8ms | 4512kb | OKAY! | 10 |
7 | 8ms | 4684kb | OKAY! | 10 |
8 | 12ms | Depăşit | Memory limit exceeded. | 0 |
9 | 36ms | Depăşit | Memory limit exceeded. | 0 |
10 | 0ms | 1396kb | OKAY! | 10 |
Punctaj total | 80 |