Pagini recente » Borderou de evaluare (job #2251623) | Borderou de evaluare (job #639733) | Borderou de evaluare (job #1118246) | Borderou de evaluare (job #442035) | Borderou de evaluare (job #1608739)
Borderou de evaluare (job #1608739)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:33:20: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if(nr%2==0 && p!='0' || nr%2!=0 && p=='0')
^
user.cpp:12: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:13:40: 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:14:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c", &p);
^
user.cpp:22:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c", &n);
^
user.cpp:40:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&p);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 428kb | OK | 10 | 30 |
2 | 0ms | 428kb | OK | 10 |
3 | 0ms | 432kb | OK | 10 |
4 | 0ms | 424kb | OK | 10 | 40 |
5 | 0ms | 428kb | OK | 10 |
6 | 28ms | 472kb | OK | 10 |
7 | 36ms | 484kb | OK | 10 |
8 | 32ms | 464kb | OK | 10 | 30 |
9 | 44ms | 484kb | OK | 10 |
10 | 0ms | 420kb | OK | 10 |
Punctaj total | 100 |