Borderou de evaluare (job #1320700)

Utilizator serbanSlincu Serban serban Data 18 ianuarie 2015 13:14:33
Problema Editor Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int caut(int, int)’: user.cpp:12:11: warning: unused variable ‘j’ [-Wunused-variable] int i,j; ^ user.cpp: In function ‘int main()’: user.cpp:44:25: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[60005]’ [-Wformat=] fscanf(f,"%s",&a); ^ user.cpp:86:24: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] else if(a[j]=='(') ^ user.cpp:81:19: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if(a[j]=='[') ^ user.cpp: In function ‘int caut(int, int)’: user.cpp:35:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:41:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&T); ^ user.cpp:44:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%s",&a); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
1Depăşit408kbTime limit exceeded.00
2Depăşit400kbTime limit exceeded.0
3Depăşit408kbTime limit exceeded.0
4Depăşit404kbTime limit exceeded.0
5Depăşit424kbTime limit exceeded.00
6Depăşit424kbTime limit exceeded.00
7Depăşit464kbTime limit exceeded.00
8Depăşit448kbTime limit exceeded.00
9Depăşit432kbTime limit exceeded.00
10Depăşit444kbTime limit exceeded.00
Punctaj total0

Ceva nu functioneaza?