Borderou de evaluare (job #2540214)

Utilizator cyg_vladioanBirsan Vlad cyg_vladioan Data 6 februarie 2020 20:48:31
Problema Bool Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int forma_poloneza()': main.cpp:14:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 0 ; i < s.length() ; i ++) ~~^~~~~~~~~~~~ main.cpp:18:65: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if((i > 0 && !isalpha(s[i]) && isalpha(s[i - 1])) || (i == s.length() - 1 && isalpha(s[i]))) ~~^~~~~~~~~~~~~~~~~ main.cpp:11:25: warning: unused variable 'j' [-Wunused-variable] int i, top1, top2 , j , pr; ^ main.cpp: In function 'int main()': main.cpp:109:16: warning: unused variable 'j' [-Wunused-variable] int n, i , j; ^ main.cpp:107:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("bool.in", "r", stdin); ^ main.cpp:108:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("bool.out", "w", stdout); ^ main.cpp:112:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &n); ^ main.cpp:115:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%c", &ch); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK10
22ms131kbOK10
33ms131kbOK10
43ms131kbOK10
57ms131kbOK10
66ms131kbOK10
76ms131kbOK10
86ms131kbOK10
96ms131kbOK10
106ms131kbOK10
Punctaj total100

Ceva nu functioneaza?