Borderou de evaluare (job #2302390)

Utilizator menna2003Menna Ahmed menna2003 Data 14 decembrie 2018 15:56:29
Problema Egipt Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 10

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:20:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(a[i]==k) ^~ main.cpp:22:10: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' sum+=temp.size(); ^~~ main.cpp:24:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<temp.size();i++){ ~^~~~~~~~~~~~ main.cpp:34:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=s;i<temp.size() && temp2.size();i++){ ~^~~~~~~~~~~~ main.cpp:47:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=s;i<temp.size();i++){ ~^~~~~~~~~~~~ main.cpp:59:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<vec.size();i++) ~^~~~~~~~~~~ main.cpp:10:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("egipt.in","r",stdin); ^ main.cpp:11:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("egipt.out","w",stdout); ^ main.cpp:12:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ main.cpp:14:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&a[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbRaspuns corect10
22ms131kbRaspuns gresit0
32ms131kbRaspuns gresit0
42ms131kbRaspuns gresit0
52ms131kbRaspuns gresit0
63ms131kbRaspuns gresit0
73ms131kbRaspuns gresit0
85ms262kbRaspuns gresit0
96ms262kbRaspuns gresit0
107ms262kbRaspuns gresit0
Punctaj total10

Ceva nu functioneaza?