Pagini recente » Borderou de evaluare (job #2236086) | Borderou de evaluare (job #609961) | Borderou de evaluare (job #2699197) | Borderou de evaluare (job #949467) | Borderou de evaluare (job #1825638)
Borderou de evaluare (job #1825638)
Raport evaluator
Compilare:
user.cpp: In function ‘void build(int, int, int, FILE*)’:
user.cpp:7:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(fin,"%d",&aint[nod]);
^
user.cpp: In function ‘int main()’:
user.cpp:60:43: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",query(1,1,n,x,y));
^
user.cpp: In function ‘void build(int, int, int, FILE*)’:
user.cpp:7:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&aint[nod]);
^
user.cpp: In function ‘int main()’:
user.cpp:47:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rest.in","r",stdin);
^
user.cpp:48:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rest.out","w",stdout);
^
user.cpp:49:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&n,&b,&p);
^
user.cpp:54:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
user.cpp:56:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&a,&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 268kb | Incorect | 0 | 0 |
2 | 0ms | 272kb | Incorect | 0 |
3 | 0ms | 288kb | Incorect | 0 |
4 | 24ms | 600kb | Incorect | 0 |
5 | 64ms | 972kb | Incorect | 0 |
6 | 336ms | 3100kb | Incorect | 0 |
7 | 328ms | 3100kb | Incorect | 0 |
8 | Depăşit | 6320kb | Time limit exceeded. | 0 |
9 | Depăşit | 6312kb | Time limit exceeded. | 0 |
10 | Depăşit | 6320kb | Time limit exceeded. | 0 |
Punctaj total | 0 |