Pagini recente » Cod sursa (job #776249) | Cod sursa (job #2861876) | Cod sursa (job #804418) | Cod sursa (job #862143) | Borderou de evaluare (job #2656108)
Borderou de evaluare (job #2656108)
Raport evaluator
Compilare:
main.cpp: In function 'void readData()':
main.cpp:19:26: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'short int*' [-Wformat=]
fscanf(in, "%d", &v1[i]);
^
main.cpp:24:26: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'short int*' [-Wformat=]
fscanf(in, "%d", &v2[i]);
^
main.cpp:15:29: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d %d", &n, &m);
^
main.cpp:19:27: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &v1[i]);
^
main.cpp:24:27: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &v2[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | Raspuns corect! | 10 |
| 2 | 2ms | 131kb | Raspuns corect! | 10 |
| 3 | 2ms | 131kb | Raspuns corect! | 10 |
| 4 | 3ms | 524kb | Raspuns corect! | 10 |
| 5 | 3ms | 655kb | Raspuns corect! | 10 |
| 6 | 7ms | 1179kb | Raspuns corect! | 10 |
| 7 | 12ms | 2228kb | Raspuns corect! | 10 |
| 8 | 12ms | 1966kb | Raspuns corect! | 10 |
| 9 | 18ms | 2228kb | Raspuns corect! | 10 |
| 10 | 11ms | 1835kb | Raspuns corect! | 10 |
| Punctaj total | 100 |