Pagini recente » Monitorul de evaluare | Cod sursa (job #420189) | Borderou de evaluare (job #1388739) | Borderou de evaluare (job #1565841) | Borderou de evaluare (job #2262427)
Borderou de evaluare (job #2262427)
Raport evaluator
Compilare:
main.cpp: In function 'void solve(long long int, long long int)':
main.cpp:48:25: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%I64d\n",ans);
^
main.cpp: In function 'int main()':
main.cpp:56:29: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%I64d%I64d",&p,&q);
^
main.cpp:56:29: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
main.cpp:62:33: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%I64d%I64d",&a,&b);
^
main.cpp:62:33: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
main.cpp:53:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("jap2.in","r",stdin);
^
main.cpp:54:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("jap2.out","w",stdout);
^
main.cpp:56:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%I64d%I64d",&p,&q);
^
main.cpp:62:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%I64d%I64d",&a,&b);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 342ms | 2621kb | Incorect | 0 |
| 2 | 334ms | 3014kb | Incorect | 0 |
| 3 | 195ms | 262kb | Incorect | 0 |
| 4 | 183ms | 524kb | Incorect | 0 |
| 5 | 402ms | 393kb | Incorect | 0 |
| 6 | 442ms | 1179kb | Incorect | 0 |
| 7 | 244ms | 262kb | Incorect | 0 |
| 8 | 247ms | 655kb | Incorect | 0 |
| 9 | 528ms | 393kb | Incorect | 0 |
| 10 | 474ms | 393kb | Incorect | 0 |
| 11 | 127ms | 262kb | Incorect | 0 |
| 12 | 322ms | 393kb | Incorect | 0 |
| 13 | 638ms | 524kb | Incorect | 0 |
| 14 | 622ms | 393kb | Incorect | 0 |
| 15 | 139ms | 524kb | Incorect | 0 |
| 16 | 328ms | 393kb | Incorect | 0 |
| 17 | 718ms | 2359kb | Incorect | 0 |
| 18 | 719ms | 2359kb | Incorect | 0 |
| 19 | 696ms | 2228kb | Incorect | 0 |
| 20 | 633ms | 1179kb | Incorect | 0 |
| Punctaj total | 0 |