Pagini recente » Borderou de evaluare (job #2009947) | Borderou de evaluare (job #3325670) | Borderou de evaluare (job #2431160) | Borderou de evaluare (job #527416) | Borderou de evaluare (job #2009948)
Borderou de evaluare (job #2009948)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:31:27: warning: unknown conversion type character 0x20 in format [-Wformat=]
fscanf(fr,"%ll %ll",&n,&m);
^
user.cpp:31:27: warning: conversion lacks type at end of format [-Wformat=]
user.cpp:31:27: warning: too many arguments for format [-Wformat-extra-args]
user.cpp:32:37: warning: conversion lacks type at end of format [-Wformat=]
for(i=1;i<=n;i++)fscanf(fr,"%ll",&x),upd(i,x);
^
user.cpp:32:37: warning: too many arguments for format [-Wformat-extra-args]
user.cpp:38:47: warning: unknown conversion type character 0x20 in format [-Wformat=]
else fprintf(fw,"%ll \n",query(y)-query(x-1));
^
user.cpp:38:47: warning: too many arguments for format [-Wformat-extra-args]
user.cpp:31:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fr,"%ll %ll",&n,&m);
^
user.cpp:32:47: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=n;i++)fscanf(fr,"%ll",&x),upd(i,x);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 388kb | Raspuns incorect | 0 |
| 2 | 0ms | 392kb | Raspuns incorect | 0 |
| 3 | 0ms | 392kb | Raspuns incorect | 0 |
| 4 | 0ms | 388kb | Raspuns incorect | 0 |
| 5 | 0ms | 392kb | Raspuns incorect | 0 |
| Punctaj total | 0 |