Borderou de evaluare (job #2264538)

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

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
24ms131kbOK5
34ms131kbOK5
45ms131kbOK5
5203ms131kbOK5
6256ms225kbOK5
7300ms262kbTime limit exceeded0
8304ms294kbTime limit exceeded0
9303ms282kbTime limit exceeded0
10300ms262kbTime limit exceeded0
11301ms380kbTime limit exceeded0
12300ms401kbTime limit exceeded0
13301ms397kbTime limit exceeded0
14300ms425kbTime limit exceeded0
15303ms548kbTime limit exceeded0
16302ms548kbTime limit exceeded0
17300ms131kbTime limit exceeded0
18303ms548kbTime limit exceeded0
19304ms548kbTime limit exceeded0
20303ms544kbTime limit exceeded0
Punctaj total30

Ceva nu functioneaza?