Pagini recente » Borderou de evaluare (job #2561892) | Borderou de evaluare (job #1891512) | Borderou de evaluare (job #1724683) | Borderou de evaluare (job #1146898) | Borderou de evaluare (job #1740298)
Borderou de evaluare (job #1740298)
Raport evaluator
Compilare:
user.cpp: In function ‘void FenwickUpdate(int, long long int)’:
user.cpp:9:10: warning: statement has no effect [-Wunused-value]
for(x;x>0;x=x-((x&(x-1))^x))
^
user.cpp: In function ‘long long int FenwickQuery(int)’:
user.cpp:14:10: warning: statement has no effect [-Wunused-value]
for(x;x<=n;x=x+((x&(x-1))^x))
^
user.cpp: In function ‘int main()’:
user.cpp:91:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
scanf("%d%d",&x,&newValue);
^
user.cpp:75:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("kami.in","r",stdin);
^
user.cpp:76:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("kami.out","w",stdout);
^
user.cpp:78:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:80:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&value[i]);
^
user.cpp:87:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
user.cpp:89:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&type);
^
user.cpp:91:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&newValue);
^
user.cpp:105:27: 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 |
Punctaj/grupa |
1 | 0ms | 280kb | OK | 10 | 10 |
2 | 0ms | 332kb | Incorect | 0 | 0 |
3 | 292ms | 6708kb | Incorect | 0 | 0 |
4 | 108ms | 3264kb | Incorect | 0 | 0 |
5 | 140ms | 3504kb | Incorect | 0 | 0 |
6 | 136ms | 3500kb | Incorect | 0 | 0 |
7 | 224ms | 5372kb | Incorect | 0 | 0 |
8 | 300ms | 6708kb | Incorect | 0 |
9 | 316ms | 6708kb | Incorect | 0 |
10 | 316ms | 6708kb | Incorect | 0 | 0 |
Punctaj total | 10 |