Pagini recente » Borderou de evaluare (job #2227990) | Borderou de evaluare (job #1727713) | Borderou de evaluare (job #1051460) | Borderou de evaluare (job #1551107) | Borderou de evaluare (job #1279250)
Borderou de evaluare (job #1279250)
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:13:46: warning: variable ‘p1’ set but not used [-Wunused-but-set-variable]
long long minim = 1000000000000, s1, s3, p1, p2;
^
user.cpp:13:50: warning: variable ‘p2’ set but not used [-Wunused-but-set-variable]
long long minim = 1000000000000, s1, s3, p1, p2;
^
user.cpp:26:9: warning: variable ‘ok’ set but not used [-Wunused-but-set-variable]
int ok = 1;
^
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:102:38: warning: ‘i2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
fprintf(fout, "%d %d", i1, i2 - 1);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 452kb | OK | 10 |
2 | 0ms | 452kb | OK | 10 |
3 | 0ms | 452kb | OK | 10 |
4 | 0ms | 452kb | OK | 10 |
5 | 24ms | 844kb | OK | 10 |
6 | 28ms | 836kb | OK | 10 |
7 | 20ms | 844kb | OK | 10 |
8 | 252ms | 4352kb | OK | 10 |
9 | 224ms | 4348kb | Incorect | 0 |
10 | 240ms | 4348kb | OK | 10 |
Punctaj total | 90 |