Borderou de evaluare (job #2264548)

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

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
13ms131kbOK5
23ms131kbOK5
33ms131kbOK5
44ms131kbOK5
5198ms212kbOK5
6183ms229kbOK5
7300ms249kbTime limit exceeded0
8300ms258kbTime limit exceeded0
9300ms253kbTime limit exceeded0
1016ms249kbOK5
11300ms389kbTime limit exceeded0
12300ms385kbTime limit exceeded0
13300ms401kbTime limit exceeded0
14300ms507kbTime limit exceeded0
15300ms516kbTime limit exceeded0
16300ms520kbTime limit exceeded0
17300ms131kbTime limit exceeded0
18300ms524kbTime limit exceeded0
19304ms512kbTime limit exceeded0
20300ms516kbTime limit exceeded0
Punctaj total35

Ceva nu functioneaza?