Pagini recente » Borderou de evaluare (job #147411) | Borderou de evaluare (job #3295180) | Borderou de evaluare (job #2195887) | Borderou de evaluare (job #2344385) | Borderou de evaluare (job #2490268)
Borderou de evaluare (job #2490268)
Raport evaluator
Compilare:
main.cpp: In function 'bool adaugare(int)':
main.cpp:13:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=1;i<=deque1[index].size();i++)
~^~~~~~~~~~~~~~~~~~~~~~
main.cpp:20:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(alf==0)
^~
main.cpp:22:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
return alf;
^~~~~~
main.cpp: In function 'int raspuns(int)':
main.cpp:68:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(!adaugare(v[j]))
^~
main.cpp:70:17: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
rasp+=j-i+1;
^~~~
main.cpp: In function 'int main()':
main.cpp:87:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i=1;i<=n;i++)
^~~
main.cpp:89:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
int alpha=deque1[7].front().first;
^~~
main.cpp:89:9: warning: unused variable 'alpha' [-Wunused-variable]
int alpha=deque1[7].front().first;
^~~~~
main.cpp: In function 'bool verificare(int)':
main.cpp:54:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
main.cpp: In function 'int main()':
main.cpp:86:28: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d%d%d",&n,&l,&u);
^
main.cpp:88:25: 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 | 16ms | 6946kb | Killed by Signal 11 | 0 |
2 | 28ms | 7077kb | Killed by Signal 11 | 0 |
3 | 20ms | 7077kb | Killed by Signal 11 | 0 |
4 | 46ms | 7340kb | Killed by Signal 11 | 0 |
5 | 62ms | 7340kb | Killed by Signal 11 | 0 |
6 | 62ms | 7340kb | Killed by Signal 11 | 0 |
7 | 62ms | 7340kb | Killed by Signal 11 | 0 |
8 | 59ms | 7340kb | Killed by Signal 11 | 0 |
9 | 62ms | 7340kb | Killed by Signal 11 | 0 |
10 | 60ms | 7340kb | Killed by Signal 11 | 0 |
Punctaj total | 0 |