Pagini recente » Borderou de evaluare (job #3188652) | Borderou de evaluare (job #1006490) | Borderou de evaluare (job #2095263) | Borderou de evaluare (job #1781184) | Borderou de evaluare (job #2162683)
Borderou de evaluare (job #2162683)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long unsigned int (*)[5000]’ [-Wformat=]
fscanf(f,"%d%lld",&v,&n);
^
user.cpp:14:28: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 4 has type ‘int*’ [-Wformat=]
user.cpp:49:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(v[j]<c[j])
^
user.cpp:63:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(v[i+j]<c[i+j])
^
user.cpp:14:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d%lld",&v,&n);
^
user.cpp:23:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&c[j]);
^
user.cpp:31:5: warning: ‘t’ is used uninitialized in this function [-Wuninitialized]
if(t==1)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1260kb | Incorect | 0 |
2 | 0ms | 1332kb | Incorect | 0 |
3 | 0ms | 1252kb | Incorect | 0 |
4 | 0ms | 1248kb | Incorect | 0 |
5 | 0ms | 1324kb | OK | 5 |
6 | 0ms | 1348kb | OK | 5 |
7 | 0ms | 1316kb | OK | 5 |
8 | 0ms | 1316kb | OK | 5 |
9 | 0ms | 1236kb | OK | 5 |
10 | 0ms | 1280kb | OK | 5 |
11 | 0ms | 1268kb | OK | 5 |
12 | 0ms | 1296kb | Incorect | 0 |
13 | 0ms | 1364kb | OK | 5 |
14 | 0ms | 1332kb | OK | 5 |
15 | 0ms | 1256kb | Incorect | 0 |
16 | 0ms | 1248kb | OK | 5 |
17 | 0ms | 1328kb | OK | 5 |
18 | 0ms | 1368kb | Incorect | 0 |
19 | 0ms | 1288kb | Incorect | 0 |
20 | 0ms | 1336kb | OK | 5 |
Punctaj total | 60 |