Borderou de evaluare (job #1358829)

Utilizator TimitocArdelean Andrei Timotei Timitoc Data 24 februarie 2015 20:08:57
Problema Dir Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘std::string getFile()’: user.cpp:19:26: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] while (s[ind] >= 'a' && s[ind] <= 'z' || s[ind] >= 'A' && s[ind] <= 'Z' || ^ user.cpp:20:26: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] s[ind] >= '0' && s[ind] <= '9') ^ user.cpp: In function ‘int fis(std::string)’: user.cpp:27:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < alf.size(); i++) ^ user.cpp:28:29: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if (!(alf[i] >= 'a' && alf[i] <= 'z' || alf[i] >= '0' && alf[i] <= '9')) ^ user.cpp: In function ‘void solve()’: user.cpp:41:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (ind < strlen(s)) ^ user.cpp: In function ‘int main()’: user.cpp:81:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < sol.size(); i++) ^ user.cpp:68:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("dir.in", "r", stdin); ^ user.cpp:69:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("dir.out", "w", stdout); ^ user.cpp:74:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c", &c); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit384kbTime limit exceeded.0
2Depăşit384kbTime limit exceeded.0
3Depăşit384kbTime limit exceeded.0
4Depăşit388kbTime limit exceeded.0
5Depăşit388kbTime limit exceeded.0
6Depăşit396kbTime limit exceeded.0
7Depăşit400kbTime limit exceeded.0
8Depăşit400kbTime limit exceeded.0
9Depăşit396kbTime limit exceeded.0
10Depăşit384kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?