Pagini recente » Borderou de evaluare (job #1539079) | Borderou de evaluare (job #2390464) | Borderou de evaluare (job #318526) | Borderou de evaluare (job #69765) | Borderou de evaluare (job #1500948)
Borderou de evaluare (job #1500948)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:8:19: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%ld",&t);
^
user.cpp:12:23: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%ld",&n);
^
user.cpp:18:27: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%ld",&y);
^
user.cpp:30:19: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%ld",&t);
^
user.cpp:34:23: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%ld",&n);
^
user.cpp:39:27: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%ld",&y);
^
user.cpp:43:33: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%ld\n",a[tsec]);
^
user.cpp:6:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("avarcolaci.in","r",stdin);
^
user.cpp:7:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("avarcolaci.out","w",stdout);
^
user.cpp:8:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&t);
^
user.cpp:12:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&n);
^
user.cpp:18:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&y);
^
user.cpp:29:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("avarcolaci.in","r",stdin);
^
user.cpp:30:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&t);
^
user.cpp:34:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&n);
^
user.cpp:39:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | OK | 10 |
2 | 0ms | 268kb | OK | 10 |
3 | 0ms | 276kb | OK | 10 |
4 | 0ms | 272kb | OK | 10 |
5 | 708ms | 268kb | OK | 10 |
6 | 912ms | 276kb | OK | 10 |
7 | 600ms | 276kb | OK | 10 |
8 | 964ms | 272kb | OK | 10 |
9 | Depăşit | 276kb | Time limit exceeded. | 0 |
10 | 5272ms | 268kb | OK | 10 |
Punctaj total | 90 |