Pagini recente » Borderou de evaluare (job #1710013) | Borderou de evaluare (job #199939) | Borderou de evaluare (job #1671454) | Borderou de evaluare (job #2542000) | Borderou de evaluare (job #1562764)
Borderou de evaluare (job #1562764)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
scanf("%d%d", &n, &b);
^
user.cpp:27:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d", c);
^
user.cpp:31:19: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d", c);
^
user.cpp:12:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("buget.in", "r", stdin);
^
user.cpp:13:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("buget.out", "w", stdout);
^
user.cpp:14:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &b);
^
user.cpp:16:27: 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 | 440kb | OK | 10 |
2 | 0ms | 448kb | OK | 10 |
3 | 0ms | 440kb | OK | 10 |
4 | 0ms | 448kb | OK | 10 |
5 | 0ms | 460kb | Incorect | 0 |
6 | 0ms | 464kb | Incorect | 0 |
7 | 16ms | 596kb | Incorect | 0 |
8 | 16ms | 592kb | Incorect | 0 |
9 | 36ms | 792kb | Incorect | 0 |
10 | 36ms | 792kb | Incorect | 0 |
Punctaj total | 40 |