Pagini recente » Borderou de evaluare (job #817691) | Borderou de evaluare (job #618968) | Borderou de evaluare (job #2856226) | Borderou de evaluare (job #655329) | Borderou de evaluare (job #1219141)
Borderou de evaluare (job #1219141)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:23: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if(sir[i]==49 && par%2==0||(sir[i]==48 && par%2==1)){
^
user.cpp:8:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("paritate.in","r",stdin);
^
user.cpp:9:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("paritate.out","w",stdout);
^
user.cpp:10:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(sir);
^
/tmp/ccn2Yvu9.o: In function `main':
user.cpp:(.text.startup+0x58): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 240kb | OK | 10 | 30 |
2 | 0ms | 216kb | OK | 10 |
3 | 0ms | 228kb | OK | 10 |
4 | 0ms | 224kb | OK | 10 | 0 |
5 | 0ms | 240kb | OK | 10 |
6 | Depăşit | 576kb | Time limit exceeded. | 0 |
7 | Depăşit | 756kb | Time limit exceeded. | 0 |
8 | 4ms | 584kb | OK | 10 | 30 |
9 | 4ms | 728kb | OK | 10 |
10 | 0ms | 216kb | OK | 10 |
Punctaj total | 60 |