Pagini recente » Borderou de evaluare (job #2837771) | Cod sursa (job #700246) | Borderou de evaluare (job #1184871) | Borderou de evaluare (job #1939872) | Borderou de evaluare (job #1280405)
Borderou de evaluare (job #1280405)
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 | 304kb | Incorect | 0 |
| 3 | 12ms | 372kb | Incorect | 0 |
| 4 | 52ms | 644kb | Incorect | 0 |
| 5 | 64ms | 776kb | Incorect | 0 |
| 6 | 56ms | 1520kb | Killed by signal 11(SIGSEGV). | 0 |
| 7 | 156ms | 1520kb | Killed by signal 11(SIGSEGV). | 0 |
| 8 | 124ms | 1520kb | Killed by signal 11(SIGSEGV). | 0 |
| 9 | 56ms | 1696kb | Killed by signal 11(SIGSEGV). | 0 |
| 10 | 68ms | 2816kb | Killed by signal 11(SIGSEGV). | 0 |
| Punctaj total | 0 |