Pagini recente » Borderou de evaluare (job #2127793) | Borderou de evaluare (job #1174502) | Borderou de evaluare (job #12524) | Borderou de evaluare (job #198115) | Borderou de evaluare (job #764660)
Borderou de evaluare (job #764660)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:18:3: warning: implicit declaration of function ‘abs’ [-Wimplicit-function-declaration]
if ( (abs(x - Sx) + abs(y - Sy)) == S)
^
user.c:12:8: warning: unused variable ‘fout’ [-Wunused-variable]
FILE *fout = freopen("cal.out", "wt", stdout);
^
user.c:11:8: warning: unused variable ‘fin’ [-Wunused-variable]
FILE *fin = freopen("cal.in", "rt", stdin);
^
user.c:13:7: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d", &Sx, &Sy, &S, &N);
^
user.c:17:8: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 248kb | OK | 10 | 100 |
2 | 0ms | 236kb | OK | 10 |
3 | 44ms | 248kb | OK | 10 |
4 | 4ms | 248kb | OK | 10 |
5 | 0ms | 240kb | OK | 10 |
6 | 72ms | 244kb | OK | 10 |
7 | 0ms | 244kb | OK | 10 |
8 | 4ms | 236kb | OK | 10 |
9 | 60ms | 244kb | OK | 10 |
10 | 80ms | 244kb | OK | 10 |
Punctaj total | 100 |