Pagini recente » Borderou de evaluare (job #1385487) | Borderou de evaluare (job #311953) | Borderou de evaluare (job #1188304) | Borderou de evaluare (job #1728489) | Borderou de evaluare (job #2045131)
Borderou de evaluare (job #2045131)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:28: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
fscanf(f,"%ld%ld",&n,&k);
^
user.cpp:13:28: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=]
user.cpp:17:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (lst<Q.size() && Q.back().first>=v[i])
^
user.cpp:13:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%ld%ld",&n,&k);
^
user.cpp:16:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 456kb | OK | 10 |
2 | 4ms | 508kb | OK | 10 |
3 | 20ms | 716kb | OK | 10 |
4 | 24ms | 744kb | OK | 10 |
5 | 32ms | 844kb | OK | 10 |
6 | 36ms | 920kb | OK | 10 |
7 | 60ms | 1236kb | OK | 10 |
8 | 92ms | 1624kb | OK | 10 |
9 | Depăşit | 1828kb | Time limit exceeded. | 0 |
10 | Depăşit | 1884kb | Time limit exceeded. | 0 |
Punctaj total | 80 |