Pagini recente » Borderou de evaluare (job #1603067) | Borderou de evaluare (job #1022940) | Borderou de evaluare (job #1922711) | Borderou de evaluare (job #2699557) | Borderou de evaluare (job #1724629)
Borderou de evaluare (job #1724629)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:46:19: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d", cost);
^
user.cpp:38:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("costperm.in", "r", stdin);
^
user.cpp:39:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("costperm.out", "w", stdout);
^
user.cpp:40:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:42:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", v + i);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 296kb | Incorect | 0 |
2 | 0ms | 312kb | Incorect | 0 |
3 | 0ms | 304kb | Incorect | 0 |
4 | 48ms | 1020kb | Incorect | 0 |
5 | 44ms | 996kb | Incorect | 0 |
6 | 44ms | 936kb | Incorect | 0 |
7 | 48ms | 1024kb | Incorect | 0 |
8 | 44ms | 984kb | Incorect | 0 |
9 | 40ms | 924kb | Incorect | 0 |
10 | 48ms | 1044kb | Incorect | 0 |
Punctaj total | 0 |