Pagini recente » Borderou de evaluare (job #1435584) | Borderou de evaluare (job #507310) | Borderou de evaluare (job #699935) | Borderou de evaluare (job #2785734) | Borderou de evaluare (job #1672921)
Borderou de evaluare (job #1672921)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d%d%d",&n,&k,&a,&b);
^
user.cpp:12:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:12:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:12:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=]
user.cpp:15:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&x);
^
user.cpp:24:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d",c);
^
user.cpp:9:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("divk.in","r",stdin);
^
user.cpp:10:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("divk.out","w",stdout);
^
user.cpp:12:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d",&n,&k,&a,&b);
^
user.cpp:15:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 284kb | OK | 10 |
| 2 | 0ms | 296kb | OK | 10 |
| 3 | 4ms | 400kb | OK | 10 |
| 4 | 16ms | 676kb | OK | 10 |
| 5 | 36ms | 1064kb | OK | 10 |
| 6 | 56ms | 2588kb | OK | 10 |
| 7 | 68ms | 1880kb | OK | 10 |
| 8 | 84ms | 2408kb | OK | 10 |
| 9 | 128ms | 3956kb | OK | 10 |
| 10 | 164ms | 4180kb | Incorect | 0 |
| Punctaj total | 90 |