Pagini recente » Borderou de evaluare (job #425918) | Borderou de evaluare (job #1489333) | Borderou de evaluare (job #2197930) | Borderou de evaluare (job #1815382) | Borderou de evaluare (job #2540116)
Borderou de evaluare (job #2540116)
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;
^
main.cpp: In function 'int main()':
main.cpp:89:16: warning: unused variable 'j' [-Wunused-variable]
int n, i , j;
^
main.cpp:87: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:88: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:92:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
main.cpp:95: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 |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 3ms | 131kb | OK | 10 |
4 | 3ms | 131kb | Incorect | 0 |
5 | 7ms | 131kb | OK | 10 |
6 | 6ms | 131kb | Incorect | 0 |
7 | 6ms | 131kb | Incorect | 0 |
8 | 6ms | 131kb | Incorect | 0 |
9 | 6ms | 131kb | Incorect | 0 |
10 | 6ms | 131kb | Incorect | 0 |
Punctaj total | 40 |