Pagini recente » Borderou de evaluare (job #2615850) | Borderou de evaluare (job #226298) | Borderou de evaluare (job #803259) | Borderou de evaluare (job #128563) | Borderou de evaluare (job #1795277)
Borderou de evaluare (job #1795277)
Raport evaluator
Compilare:
user.cpp: In function ‘void bord()’:
user.cpp:29:31: warning: large integer implicitly truncated to unsigned type [-Woverflow]
a[i][0] = a[i][m + 1] = INF;
^
user.cpp:31:31: warning: large integer implicitly truncated to unsigned type [-Woverflow]
a[0][j] = a[n + 1][j] = INF;
^
user.cpp: In function ‘int main()’:
user.cpp:40:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short unsigned int*’ [-Wformat=]
scanf("%d", &a[i][j]);
^
user.cpp:35:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bila.in", "r", stdin);
^
user.cpp:36:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bila.out", "w", stdout);
^
user.cpp:37:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
user.cpp:40:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 284kb | OK | 10 |
2 | 0ms | 288kb | OK | 10 |
3 | 0ms | 288kb | OK | 10 |
4 | 0ms | 304kb | OK | 10 |
5 | 0ms | 336kb | OK | 10 |
6 | 4ms | 348kb | OK | 10 |
7 | 4ms | 340kb | OK | 10 |
8 | 4ms | 344kb | OK | 10 |
9 | 4ms | 344kb | OK | 10 |
10 | 4ms | 348kb | OK | 10 |
Punctaj total | 100 |