Pagini recente » Borderou de evaluare (job #182431) | Borderou de evaluare (job #1158446) | Borderou de evaluare (job #870848) | Borderou de evaluare (job #648648) | Borderou de evaluare (job #1291641)
Borderou de evaluare (job #1291641)
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:103: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 | 436kb | OK | 10 |
2 | 0ms | 440kb | OK | 10 |
3 | 0ms | 444kb | OK | 10 |
4 | 0ms | 444kb | OK | 10 |
5 | 24ms | 832kb | OK | 10 |
6 | 28ms | 828kb | OK | 10 |
7 | 20ms | 828kb | OK | 10 |
8 | 252ms | 4336kb | OK | 10 |
9 | 220ms | 4340kb | OK | 10 |
10 | 272ms | 4344kb | OK | 10 |
Punctaj total | 100 |