Pagini recente » Borderou de evaluare (job #3115320) | Borderou de evaluare (job #2581781) | Borderou de evaluare (job #2936805) | Borderou de evaluare (job #2696362) | Borderou de evaluare (job #1610678)
Borderou de evaluare (job #1610678)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:26:20: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if(nr%2==0 && p!='0' || nr%2!=0 && p=='0')
^
user.cpp:10:39: 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:11:41: 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:12:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c", &p);
^
user.cpp:19:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c", &n);
^
user.cpp:33: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 | 424kb | OK | 10 | 30 |
| 2 | 0ms | 420kb | OK | 10 |
| 3 | 0ms | 428kb | OK | 10 |
| 4 | 0ms | 424kb | OK | 10 | 40 |
| 5 | 0ms | 428kb | OK | 10 |
| 6 | 28ms | 468kb | OK | 10 |
| 7 | 40ms | 484kb | OK | 10 |
| 8 | 28ms | 460kb | OK | 10 | 30 |
| 9 | 44ms | 480kb | OK | 10 |
| 10 | 0ms | 424kb | OK | 10 |
| Punctaj total | 100 |