Pagini recente » Borderou de evaluare (job #1998538) | Borderou de evaluare (job #2023293) | Cod sursa (job #568177) | Borderou de evaluare (job #551422) | Borderou de evaluare (job #2079222)
Borderou de evaluare (job #2079222)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:20:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘unsigned char*’ [-Wformat=]
fscanf(fi, "%d", &a[i][j]);
^
user.cpp:17:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi, "%d%d", &n, &m);
^
user.cpp:20:39: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi, "%d", &a[i][j]);
^
user.cpp:41:46: warning: ‘col1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
dist[j]=min2+a[i][j]+a[i-1][j];
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 12ms | 488kb | OK | 10 | 30 |
2 | 8ms | 476kb | OK | 10 |
3 | 0ms | 444kb | OK | 10 |
4 | 0ms | 448kb | OK | 10 | 30 |
5 | 0ms | 460kb | OK | 10 |
6 | 0ms | 444kb | OK | 10 |
7 | 0ms | 440kb | OK | 10 | 40 |
8 | 0ms | 448kb | OK | 10 |
9 | 0ms | 456kb | OK | 10 |
10 | 12ms | 488kb | OK | 10 |
Punctaj total | 100 |