Pagini recente » Borderou de evaluare (job #1430655) | Borderou de evaluare (job #251484) | Borderou de evaluare (job #3310575) | Borderou de evaluare (job #994524) | Borderou de evaluare (job #1281247)
Borderou de evaluare (job #1281247)
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 | 300kb | Incorect | 0 |
| 3 | 12ms | 368kb | Incorect | 0 |
| 4 | 56ms | 648kb | Incorect | 0 |
| 5 | 68ms | 776kb | Incorect | 0 |
| 6 | 240ms | 1436kb | Incorect | 0 |
| 7 | 576ms | 3096kb | Incorect | 0 |
| 8 | 684ms | 4220kb | Incorect | 0 |
| 9 | 836ms | 8452kb | Incorect | 0 |
| 10 | 1780ms | 11248kb | Incorect | 0 |
| Punctaj total | 0 |