Pagini recente » Borderou de evaluare (job #2755161) | Borderou de evaluare (job #805937) | Borderou de evaluare (job #2141539) | Borderou de evaluare (job #1341653) | Borderou de evaluare (job #2226132)
Borderou de evaluare (job #2226132)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:18:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%ld %ld",&n,&m);
^
user.cpp:18:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:21:24: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%ld", &a[i]);
^
user.cpp:36:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%ld %ld", &x, &y);
^
user.cpp:36:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:38:53: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%ld\n",min(rmq[t][x],rmq[t][y-(1 << t)+1]));
^
user.cpp:15: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:16: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:18:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld",&n,&m);
^
user.cpp:21:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld", &a[i]);
^
user.cpp:36:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 5480kb | Incorect | 0 | 0 |
2 | 4ms | 7528kb | Incorect | 0 | 0 |
3 | 8ms | 11656kb | Incorect | 0 | 0 |
4 | 156ms | 15840kb | Incorect | 0 | 0 |
5 | 188ms | 15840kb | Incorect | 0 | 0 |
6 | 1204ms | 15836kb | Incorect | 0 |
7 | 1208ms | 15840kb | Incorect | 0 | 0 |
8 | Depăşit | 15840kb | Time limit exceeded. | 0 | 0 |
9 | Depăşit | 15840kb | Time limit exceeded. | 0 | 0 |
10 | Depăşit | 15836kb | Time limit exceeded. | 0 | 0 |
Punctaj total | 0 |