Pagini recente » Borderou de evaluare (job #1085608) | Borderou de evaluare (job #934260) | Borderou de evaluare (job #1880697) | Borderou de evaluare (job #3262010) | Borderou de evaluare (job #1279251)
Borderou de evaluare (job #1279251)
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 | 432kb | OK | 10 |
3 | 0ms | 444kb | OK | 10 |
4 | 0ms | 440kb | OK | 10 |
5 | 24ms | 828kb | OK | 10 |
6 | 28ms | 824kb | OK | 10 |
7 | 24ms | 828kb | OK | 10 |
8 | 280ms | 4340kb | OK | 10 |
9 | 232ms | 4344kb | OK | 10 |
10 | 272ms | 4336kb | OK | 10 |
Punctaj total | 100 |