Pagini recente » Borderou de evaluare (job #1123201) | Borderou de evaluare (job #332736) | Borderou de evaluare (job #1598101) | Borderou de evaluare (job #2504838) | Borderou de evaluare (job #1824412)
Borderou de evaluare (job #1824412)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:54:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &n);
^
user.cpp:56:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &c[i]);
^
user.cpp:59:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &x);
^
user.cpp:52:36: 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:53:38: 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:54:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:56:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &c[i]);
^
user.cpp:59:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 280kb | OK! | 10 |
2 | 0ms | 284kb | OK! | 10 |
3 | 36ms | 292kb | OK! | 10 |
4 | 24ms | 296kb | OK! | 10 |
5 | 24ms | 292kb | OK! | 10 |
6 | 0ms | 292kb | OK! | 10 |
7 | 24ms | 288kb | OK! | 10 |
8 | 28ms | 292kb | OK! | 10 |
9 | 0ms | 288kb | OK! | 10 |
10 | 40ms | 292kb | Wrong answer! | 0 |
Punctaj total | 90 |