Pagini recente » Borderou de evaluare (job #2490951) | Borderou de evaluare (job #2186501) | Borderou de evaluare (job #163675) | Borderou de evaluare (job #1017929) | Borderou de evaluare (job #2129701)
Borderou de evaluare (job #2129701)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:31:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d%d%d", &n, &m, &a);
^
user.cpp:32:55: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i = 1; i <= n; i++) fscanf(fi,"%d", &v[i]);
^
user.cpp:33:55: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int j = 1; j <= m; j++) fscanf(fi,"%d", &w[j]);
^
user.cpp: In function ‘void F(int)’:
user.cpp:23:40: warning: ‘cnt’ may be used uninitialized in this function [-Wmaybe-uninitialized]
else if(val == max) nmax += cnt;
^
user.cpp:23:14: warning: ‘val’ may be used uninitialized in this function [-Wmaybe-uninitialized]
else if(val == max) nmax += cnt;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 1272kb | OK | 10 |
| 2 | 0ms | 1276kb | OK | 10 |
| 3 | 0ms | 1280kb | OK | 10 |
| 4 | 0ms | 1276kb | OK | 10 |
| 5 | 8ms | 1400kb | OK | 10 |
| 6 | 24ms | 1460kb | OK | 10 |
| 7 | 4ms | 1576kb | OK | 10 |
| 8 | 8ms | 1700kb | OK | 10 |
| 9 | 100ms | 1812kb | OK | 10 |
| 10 | 104ms | 1840kb | OK | 10 |
| Punctaj total | 100 |