Pagini recente » Borderou de evaluare (job #2967581) | Borderou de evaluare (job #2494988) | Borderou de evaluare (job #382133) | Borderou de evaluare (job #2878616) | Borderou de evaluare (job #1531885)
Borderou de evaluare (job #1531885)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:46:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&n);
^
user.cpp:48: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:48:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:44: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:45: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:46:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:48: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 | 192ms | 8836kb | OK | 10 |
✓ | 2 | 184ms | 9148kb | OK | 10 |
✓ | 3 | 168ms | 11268kb | OK | 10 |
✓ | 4 | 200ms | 12828kb | OK | 10 |
✓ | 5 | 224ms | 13444kb | OK | 10 |
✓ | 6 | 256ms | 14220kb | OK | 10 |
✓ | 7 | 256ms | 14216kb | OK | 10 |
✓ | 8 | 252ms | 14220kb | OK | 10 |
✓ | 9 | 256ms | 14220kb | OK | 10 |
✓ | 10 | 256ms | 14216kb | OK | 10 |
Punctaj total | 100 |