Pagini recente » Borderou de evaluare (job #1202092) | Borderou de evaluare (job #2448224) | Borderou de evaluare (job #2469438) | Borderou de evaluare (job #1099424) | Borderou de evaluare (job #1280412)
Borderou de evaluare (job #1280412)
Raport evaluator
Compilare:
user.cpp: In function ‘long long int solve(int)’:
user.cpp:17:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(s.size()>x)
^
user.cpp: In function ‘int main()’:
user.cpp:35:38: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",solve(y)-solve(x-1));
^
user.cpp:30:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secv5.in","r",stdin);
^
user.cpp:31:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secv5.out","w",stdout);
^
user.cpp:32:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&n,&x,&y);
^
user.cpp:34:26: 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 | 280kb | Incorect | 0 |
2 | 4ms | 296kb | Incorect | 0 |
3 | 12ms | 368kb | Incorect | 0 |
4 | 56ms | 648kb | Incorect | 0 |
5 | 64ms | 776kb | Incorect | 0 |
6 | 228ms | 1432kb | Incorect | 0 |
7 | 576ms | 3096kb | Incorect | 0 |
8 | 684ms | 4220kb | Incorect | 0 |
9 | 820ms | 8448kb | Incorect | 0 |
10 | 1760ms | 11252kb | Incorect | 0 |
Punctaj total | 0 |