Pagini recente » Borderou de evaluare (job #739895) | Borderou de evaluare (job #1409408) | Borderou de evaluare (job #2772435) | Borderou de evaluare (job #918759) | Borderou de evaluare (job #1196851)
Borderou de evaluare (job #1196851)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%ld",&v[i]);
^
user.cpp:15:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%ld",&p[i]);
^
user.cpp:25:24: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%ld\n",perm);
^
user.cpp:9:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("perm3.in","r",stdin);
^
user.cpp:10:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("perm3.out","w",stdout);
^
user.cpp:11:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:13:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&v[i]);
^
user.cpp:15:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&p[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | OK! | 10 |
2 | 0ms | 264kb | OK! | 10 |
3 | Depăşit | 244kb | Time limit exceeded. | 0 |
4 | Depăşit | 240kb | Time limit exceeded. | 0 |
5 | Depăşit | 236kb | Time limit exceeded. | 0 |
6 | Depăşit | 236kb | Time limit exceeded. | 0 |
7 | Depăşit | 236kb | Time limit exceeded. | 0 |
8 | Depăşit | 240kb | Time limit exceeded. | 0 |
9 | Depăşit | 240kb | Time limit exceeded. | 0 |
10 | Depăşit | 236kb | Time limit exceeded. | 0 |
Punctaj total | 20 |