Pagini recente » Borderou de evaluare (job #2096120) | Borderou de evaluare (job #587031) | Borderou de evaluare (job #1682082) | Borderou de evaluare (job #503303) | Borderou de evaluare (job #1483838)
Borderou de evaluare (job #1483838)
Raport evaluator
Compilare:
user.cpp: In function ‘int query(int, int, int, int, int)’:
user.cpp:35:9: warning: unused variable ‘ans’ [-Wunused-variable]
int ans = 0;
^
user.cpp: In function ‘int main()’:
user.cpp:52:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
for (int i = 1;i <= n;++i) scanf("%d",v+i);
^
user.cpp:49:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rest.in","r",stdin);
^
user.cpp:50:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rest.out","w",stdout);
^
user.cpp:51:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d\n",&n,&b,&mod);
^
user.cpp:52:47: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (int i = 1;i <= n;++i) scanf("%d",v+i);
^
user.cpp:57:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&m);
^
user.cpp:61:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&typ,&l,&r);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 444kb | OK | 10 | 100 |
2 | 0ms | 464kb | OK | 10 |
3 | 0ms | 488kb | OK | 10 |
4 | 20ms | 864kb | OK | 10 |
5 | 52ms | 1360kb | OK | 10 |
6 | 264ms | 4072kb | OK | 10 |
7 | 264ms | 4072kb | OK | 10 |
8 | 700ms | 8464kb | OK | 10 |
9 | 696ms | 8464kb | OK | 10 |
10 | 700ms | 8460kb | OK | 10 |
Punctaj total | 100 |