Pagini recente » Borderou de evaluare (job #1161968) | Borderou de evaluare (job #2074860) | Borderou de evaluare (job #2365713) | Borderou de evaluare (job #1565827) | Borderou de evaluare (job #2127935)
Borderou de evaluare (job #2127935)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:19:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d",&a[i]);
^
user.cpp:31:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d %d",&x,&y);
^
user.cpp:31:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:42:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d\n",ans);
^
user.cpp:14:32: 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:15:34: 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:17:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld\n%ld",&n,&m);
^
user.cpp:19:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i]);
^
user.cpp:31:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 1268kb | OK | 10 | 10 |
2 | 0ms | 1264kb | OK | 10 | 10 |
3 | 0ms | 1284kb | OK | 10 | 10 |
4 | 168ms | 1456kb | OK | 10 | 10 |
5 | 204ms | 1460kb | OK | 10 | 0 |
6 | Depăşit | 1500kb | Time limit exceeded. | 0 |
7 | Depăşit | 1572kb | Time limit exceeded. | 0 | 0 |
8 | Depăşit | 1652kb | Time limit exceeded. | 0 | 0 |
9 | Depăşit | 1656kb | Time limit exceeded. | 0 | 0 |
10 | Depăşit | 1652kb | Time limit exceeded. | 0 | 0 |
Punctaj total | 40 |