Pagini recente » Borderou de evaluare (job #1715819) | Borderou de evaluare (job #2802449) | Borderou de evaluare (job #2681970) | Borderou de evaluare (job #1541080) | Borderou de evaluare (job #1279034)
Borderou de evaluare (job #1279034)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:18:34: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 3 has type ‘int*’ [-Wformat=]
fscanf(fin, "%lld", &a[i]);
^
user.cpp:68:11: warning: statement has no effect [-Wunused-value]
for(i ; s != p2 && s != stotal - p1 - p2; ++i)
^
user.cpp:14:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &n);
^
user.cpp:18:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%lld", &a[i]);
^
user.cpp:68:41: warning: ‘p2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
for(i ; s != p2 && s != stotal - p1 - p2; ++i)
^
user.cpp:61:5: warning: ‘p1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
for(i = 0; s != p1; ++i) {
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 8ms | 448kb | OK | 10 |
2 | 8ms | 448kb | OK | 10 |
3 | 8ms | 452kb | Incorect | 0 |
4 | 8ms | 452kb | Incorect | 0 |
5 | 28ms | 840kb | Incorect | 0 |
6 | 36ms | 840kb | OK | 10 |
7 | 32ms | 844kb | Incorect | 0 |
8 | 240ms | 4352kb | OK | 10 |
9 | 220ms | 4348kb | OK | 10 |
10 | 248ms | 4356kb | OK | 10 |
Punctaj total | 60 |