Pagini recente » Borderou de evaluare (job #1566201) | Borderou de evaluare (job #454051) | Borderou de evaluare (job #1672196) | Borderou de evaluare (job #2806475) | Borderou de evaluare (job #1847883)
Borderou de evaluare (job #1847883)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &n);
^
user.cpp:14:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
for (i=1; i<=n; i++) scanf("%d", &a[i]);
^
user.cpp:15:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
for (i=1; i<=n; i++) scanf("%d", &b[i]);
^
user.cpp:10:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("permut.in", "r", stdin);
^
user.cpp:11:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("permut.out", "w", stdout);
^
user.cpp:13:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:14:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=1; i<=n; i++) scanf("%d", &a[i]);
^
user.cpp:15:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=1; i<=n; i++) scanf("%d", &b[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | Incorect | 0 |
2 | 0ms | 264kb | Incorect | 0 |
3 | 0ms | 280kb | Incorect | 0 |
4 | 0ms | 288kb | Incorect | 0 |
5 | 40ms | 1044kb | OK | 10 |
6 | 84ms | 1828kb | Incorect | 0 |
7 | 92ms | 1824kb | Incorect | 0 |
8 | 96ms | 1828kb | Incorect | 0 |
9 | 92ms | 1828kb | Incorect | 0 |
10 | 92ms | 1824kb | Incorect | 0 |
Punctaj total | 10 |