Pagini recente » Borderou de evaluare (job #1684399) | Borderou de evaluare (job #536329) | Borderou de evaluare (job #696613) | Borderou de evaluare (job #1976145) | Borderou de evaluare (job #1280408)
Borderou de evaluare (job #1280408)
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 | 276kb | Incorect | 0 |
2 | 4ms | 304kb | Incorect | 0 |
3 | 12ms | 372kb | Incorect | 0 |
4 | 52ms | 644kb | Incorect | 0 |
5 | 64ms | 780kb | Incorect | 0 |
6 | 56ms | 1520kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 160ms | 1524kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 132ms | 1520kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 56ms | 1696kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 72ms | 2812kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |