Pagini recente » Borderou de evaluare (job #1656805) | Borderou de evaluare (job #805322) | Borderou de evaluare (job #215336) | Borderou de evaluare (job #2686389) | Borderou de evaluare (job #1880533)
Borderou de evaluare (job #1880533)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:8:27: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%ld%ld", &n, &a[1]);
^
user.cpp:8:27: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:10:21: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%ld", &a[i]);
^
user.cpp:17:21: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%ld", dp[n]);
^
user.cpp:6:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("galagie.in", "r", stdin);
^
user.cpp:7:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("galagie.out", "w", stdout);
^
user.cpp:8:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld%ld", &n, &a[1]);
^
user.cpp:10:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld", &a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 444kb | OK | 10 |
2 | 0ms | 460kb | Incorect | 0 |
3 | 4ms | 460kb | Incorect | 0 |
4 | Depăşit | 484kb | Time limit exceeded. | 0 |
5 | Depăşit | 480kb | Time limit exceeded. | 0 |
6 | Depăşit | 484kb | Time limit exceeded. | 0 |
7 | Depăşit | 488kb | Time limit exceeded. | 0 |
8 | Depăşit | 492kb | Time limit exceeded. | 0 |
9 | Depăşit | 480kb | Time limit exceeded. | 0 |
10 | Depăşit | 492kb | Time limit exceeded. | 0 |
Punctaj total | 10 |