Borderou de evaluare (job #2264547)

Utilizator aditzu7Adrian Capraru aditzu7 Data 20 octombrie 2018 10:23:31
Problema Sir Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 25

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:26:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i-w.front()>=k) ^~ main.cpp:29:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' int xx=a[w.front()]; ^~~ main.cpp:29:13: warning: unused variable 'xx' [-Wunused-variable] int xx=a[w.front()]; ^~ main.cpp:30:13: warning: unused variable 'yy' [-Wunused-variable] int yy=a[d.front()]; ^~ main.cpp:12:33: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d%d%d%d",&n,&x,&y,&z); ^ main.cpp:13:38: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] for(i=1;i<=n;i++)fscanf(f,"%d",&a[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms131kbOK5
23ms131kbIncorect0
33ms131kbOK5
44ms131kbIncorect0
5202ms208kbOK5
6183ms233kbOK5
7300ms249kbTime limit exceeded0
8300ms258kbTime limit exceeded0
9300ms253kbTime limit exceeded0
1016ms249kbOK5
11300ms385kbTime limit exceeded0
12300ms385kbTime limit exceeded0
13300ms397kbTime limit exceeded0
14300ms507kbTime limit exceeded0
15300ms516kbTime limit exceeded0
16300ms520kbTime limit exceeded0
17300ms131kbTime limit exceeded0
18300ms520kbTime limit exceeded0
19300ms520kbTime limit exceeded0
20300ms516kbTime limit exceeded0
Punctaj total25

Ceva nu functioneaza?