Pagini recente » Borderou de evaluare (job #527596) | Borderou de evaluare (job #3265124) | Borderou de evaluare (job #2919682) | Borderou de evaluare (job #3148922) | Borderou de evaluare (job #1531677)
Borderou de evaluare (job #1531677)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&n);
^
user.cpp:23:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d %d",&v[i],&p[i]);
^
user.cpp:23:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:19:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("porcjoc.in","r",stdin);
^
user.cpp:20:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("porcjoc.out","w",stdout);
^
user.cpp:21:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:23:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&v[i],&p[i]);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
✓ | 1 | 0ms | 460kb | OK | 10 |
✓ | 2 | 4ms | 460kb | OK | 10 |
✓ | 3 | 328ms | 476kb | OK | 10 |
✓ | 4 | Depăşit | 568kb | Time limit exceeded. | 0 |
✓ | 5 | Depăşit | 1192kb | Time limit exceeded. | 0 |
✓ | 6 | Depăşit | 1964kb | Time limit exceeded. | 0 |
✓ | 7 | Depăşit | 1968kb | Time limit exceeded. | 0 |
✓ | 8 | Depăşit | 1964kb | Time limit exceeded. | 0 |
✓ | 9 | Depăşit | 1968kb | Time limit exceeded. | 0 |
✓ | 10 | Depăşit | 1968kb | Time limit exceeded. | 0 |
Punctaj total | 30 |