Pagini recente » Borderou de evaluare (job #2909360) | Borderou de evaluare (job #684128) | Borderou de evaluare (job #233569) | Borderou de evaluare (job #2068457) | Borderou de evaluare (job #1191942)
Borderou de evaluare (job #1191942)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:4: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if (a<b) if ((b-a)%x==0) y=x;
^
user.cpp:18:4: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if (a>b) if ((a-b)%x==0) y=x;
^
user.cpp:6:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("holiday.in","r",stdin);
^
user.cpp:7:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("holiday.out","w",stdout);
^
user.cpp:8:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld%ld%ld",&a,&b,&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 244kb | Incorect | 0 | 0 |
2 | 0ms | 244kb | Incorect | 0 |
3 | 0ms | 248kb | OK | 5 |
4 | 0ms | 248kb | OK | 5 |
5 | 0ms | 244kb | Incorect | 0 |
6 | 0ms | 248kb | OK | 5 |
7 | 0ms | 244kb | Incorect | 0 |
8 | 0ms | 244kb | OK | 5 |
9 | 0ms | 240kb | OK | 5 |
10 | 0ms | 240kb | OK | 5 |
11 | 0ms | 244kb | OK | 5 |
12 | 0ms | 240kb | Incorect | 0 |
13 | 0ms | 248kb | Incorect | 0 |
14 | 0ms | 244kb | Incorect | 0 |
15 | 0ms | 244kb | OK | 5 |
16 | 0ms | 244kb | OK | 5 |
17 | 0ms | 248kb | OK | 5 |
18 | 0ms | 240kb | Incorect | 0 |
19 | 0ms | 244kb | Incorect | 0 |
20 | 0ms | 244kb | Incorect | 0 |
Penalizare 23 (pentru 46.9 minute) | -23 |
Punctaj total | 0 |