Pagini recente » Borderou de evaluare (job #2343544) | Borderou de evaluare (job #2980354) | Borderou de evaluare (job #2886709) | Borderou de evaluare (job #3163139) | Borderou de evaluare (job #1234883)
Borderou de evaluare (job #1234883)
Raport evaluator
Compilare:
user.cpp: In function ‘void read(int)’:
user.cpp:17:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d",&a[i++]);
^
user.cpp: In function ‘int main()’:
user.cpp:57:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d %d",&n,&ml);
^
user.cpp:57:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp: In function ‘void read(int)’:
user.cpp:17:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i++]);
^
user.cpp: In function ‘void solve()’:
user.cpp:45:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
user.cpp: In function ‘int main()’:
user.cpp:55:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rmq.in", "r",stdin);
^
user.cpp:56:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rmq.out","w",stdout);
^
user.cpp:57:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&ml);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 276kb | OK | 10 | 10 |
2 | 0ms | 284kb | OK | 10 | 10 |
3 | 0ms | 576kb | OK | 10 | 10 |
4 | 80ms | 3588kb | OK | 10 | 10 |
5 | 96ms | 3588kb | OK | 10 | 20 |
6 | 576ms | 4292kb | OK | 10 |
7 | 592ms | 5756kb | OK | 10 | 10 |
8 | 684ms | 7192kb | OK | 10 | 10 |
9 | 764ms | 7192kb | OK | 10 | 10 |
10 | 848ms | 7192kb | OK | 10 | 10 |
Punctaj total | 100 |