Pagini recente » Borderou de evaluare (job #781624) | Borderou de evaluare (job #972471) | Borderou de evaluare (job #2952923) | Borderou de evaluare (job #335036) | Borderou de evaluare (job #1769495)
Borderou de evaluare (job #1769495)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:8:31: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 4 has type ‘int*’ [-Wformat=]
fscanf(fin, "%lld%lld", &n, &k);
^
user.cpp:6:58: warning: unused variable ‘last’ [-Wunused-variable]
long long n, sc,scurent, smax = -999999999, elem, first, last, maxlast, lastc, firstc, maxfirst;
^
user.cpp:6:64: warning: variable ‘maxlast’ set but not used [-Wunused-but-set-variable]
long long n, sc,scurent, smax = -999999999, elem, first, last, maxlast, lastc, firstc, maxfirst;
^
user.cpp:6:73: warning: unused variable ‘lastc’ [-Wunused-variable]
long long n, sc,scurent, smax = -999999999, elem, first, last, maxlast, lastc, firstc, maxfirst;
^
user.cpp:6:88: warning: variable ‘maxfirst’ set but not used [-Wunused-but-set-variable]
long long n, sc,scurent, smax = -999999999, elem, first, last, maxlast, lastc, firstc, maxfirst;
^
user.cpp:8:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%lld%lld", &n, &k);
^
user.cpp:11:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%lld", &elem);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 232kb | Time limit exceeded. | 0 |
2 | Depăşit | 232kb | Time limit exceeded. | 0 |
3 | Depăşit | 232kb | Time limit exceeded. | 0 |
4 | Depăşit | 236kb | Time limit exceeded. | 0 |
5 | Depăşit | 236kb | Time limit exceeded. | 0 |
6 | Depăşit | 240kb | Time limit exceeded. | 0 |
7 | 0ms | 264kb | Incorect | 0 |
8 | Depăşit | 240kb | Time limit exceeded. | 0 |
9 | Depăşit | 236kb | Time limit exceeded. | 0 |
10 | 0ms | 264kb | Incorect | 0 |
Punctaj total | 0 |