Pagini recente » Cod sursa (job #1988390) | Borderou de evaluare (job #2027098) | Cod sursa (job #1969304) | Cod sursa (job #2643194) | Borderou de evaluare (job #1623235)
Borderou de evaluare (job #1623235)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short unsigned int*’ [-Wformat=]
fscanf(fin, "%d", &ma[1][1]);
^
user.cpp:14:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short unsigned int*’ [-Wformat=]
fscanf(fin, "%d", &ma[1][j]);
^
user.cpp:17:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short unsigned int*’ [-Wformat=]
fscanf(fin, "%d", &ma[2][1]);
^
user.cpp:19:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short unsigned int*’ [-Wformat=]
fscanf(fin, "%d", &ma[2][j]);
^
user.cpp:41:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short unsigned int*’ [-Wformat=]
fscanf(fin, "%d", &ma[i][j]);
^
user.cpp:63:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short unsigned int*’ [-Wformat=]
fscanf(fin, "%d", &ma[n][j]);
^
user.cpp:71:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short unsigned int*’ [-Wformat=]
fscanf(fin, "%d", &ma[n][m]);
^
user.cpp:9:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d %d", &n, &m);
^
user.cpp:10:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &ma[1][1]);
^
user.cpp:14:37: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &ma[1][j]);
^
user.cpp:17:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &ma[2][1]);
^
user.cpp:19:37: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &ma[2][j]);
^
user.cpp:41:41: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &ma[i][j]);
^
user.cpp:63:37: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &ma[n][j]);
^
user.cpp:71:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &ma[n][m]);
^
user.cpp:45:40: warning: ‘j1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
NR = MIN2 + ma[i - 1][j] + ma[i][j];
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 12ms | 392kb | OK | 10 | 30 |
2 | 8ms | 368kb | OK | 10 |
3 | 0ms | 296kb | OK | 10 |
4 | 0ms | 296kb | OK | 10 | 30 |
5 | 0ms | 324kb | OK | 10 |
6 | 0ms | 308kb | OK | 10 |
7 | 0ms | 296kb | OK | 10 | 40 |
8 | 0ms | 320kb | OK | 10 |
9 | 0ms | 328kb | OK | 10 |
10 | 12ms | 384kb | OK | 10 |
Punctaj total | 100 |