Pagini recente » Borderou de evaluare (job #2535152) | Borderou de evaluare (job #2844251) | Borderou de evaluare (job #2174369) | Borderou de evaluare (job #440387) | Borderou de evaluare (job #1608901)
Borderou de evaluare (job #1608901)
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 | 428kb | OK | 10 |
| 4 | 0ms | 424kb | OK | 10 | 40 |
| 5 | 0ms | 428kb | OK | 10 |
| 6 | 28ms | 472kb | OK | 10 |
| 7 | 36ms | 488kb | OK | 10 |
| 8 | 32ms | 468kb | OK | 10 | 30 |
| 9 | 40ms | 480kb | OK | 10 |
| 10 | 0ms | 420kb | OK | 10 |
| Punctaj total | 100 |