Pagini recente » Borderou de evaluare (job #2776861) | Borderou de evaluare (job #251962) | Borderou de evaluare (job #2980971) | Borderou de evaluare (job #405928) | Borderou de evaluare (job #1319102)
Borderou de evaluare (job #1319102)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:13:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d%d%d%d%d",&n,&k,&q,&x,&y,&z);
^
user.cpp:13:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:13:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:13:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=]
user.cpp:13:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘long long int*’ [-Wformat=]
user.cpp:13:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 7 has type ‘long long int*’ [-Wformat=]
user.cpp: In function ‘void solve()’:
user.cpp:26:20: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d",sum);
^
user.cpp: In function ‘void citire()’:
user.cpp:13:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d%d%d",&n,&k,&q,&x,&y,&z);
^
user.cpp: In function ‘int main()’:
user.cpp:31:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("beri.in","r",stdin);
^
user.cpp:32:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("beri.out","w",stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | OK | 10 |
2 | 0ms | 276kb | OK | 10 |
3 | 0ms | 312kb | Incorect | 0 |
4 | 4ms | 664kb | Incorect | 0 |
5 | 20ms | 2228kb | Incorect | 0 |
6 | 36ms | 4180kb | Incorect | 0 |
7 | 56ms | 6132kb | Incorect | 0 |
8 | 60ms | 7300kb | Incorect | 0 |
9 | 64ms | 7688kb | Incorect | 0 |
10 | 76ms | 8080kb | Incorect | 0 |
Punctaj total | 20 |