Borderou de evaluare (job #1778483)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &a[++NR]);
^
user.cpp:23:25: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%lld", &p); --p;
^
user.cpp:10:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("inundatie.in", "r", stdin);
^
user.cpp:11:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("inundatie.out", "w", stdout);
^
user.cpp:12:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
user.cpp:16:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[++NR]);
^
user.cpp:21:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &q);
^
user.cpp:23:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &p); --p;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | Incorect | 0 |
2 | 0ms | 304kb | Incorect | 0 |
3 | 4ms | 424kb | Incorect | 0 |
4 | 8ms | 620kb | Incorect | 0 |
5 | 12ms | 744kb | Incorect | 0 |
6 | 16ms | 884kb | Incorect | 0 |
7 | 24ms | 1244kb | Incorect | 0 |
8 | 32ms | 1452kb | Incorect | 0 |
9 | 36ms | 1664kb | Incorect | 0 |
10 | 0ms | 268kb | Incorect | 0 |
Punctaj total | 0 |