Pagini recente » Borderou de evaluare (job #2715122) | Cod sursa (job #2467308) | Borderou de evaluare (job #2044001) | Borderou de evaluare (job #2357864) | Borderou de evaluare (job #2105106)
Borderou de evaluare (job #2105106)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:25:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d",&p,&n);
^
user.cpp:25:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:28:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &nr);
^
user.cpp:48:20: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d",tot);
^
user.cpp:80:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘__gnu_cxx::__alloc_traits<std::allocator<long long int> >::value_type {aka long long int}’ [-Wformat=]
printf("%d\n",v[i]);
^
user.cpp:22:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arc.in","r",stdin);
^
user.cpp:23:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arc.out","w",stdout);
^
user.cpp:25:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&p,&n);
^
user.cpp:28:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &nr);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 408kb | OK | 5 |
| 2 | 0ms | 400kb | OK | 5 |
| 3 | 4ms | 408kb | OK | 5 |
| 4 | 0ms | 284kb | OK | 5 |
| 5 | 0ms | 276kb | OK | 5 |
| 6 | 0ms | 276kb | OK | 5 |
| 7 | 0ms | 280kb | OK | 5 |
| 8 | 0ms | 276kb | OK | 5 |
| 9 | 0ms | 280kb | OK | 5 |
| 10 | 0ms | 300kb | OK | 5 |
| 11 | 12ms | 404kb | OK | 5 |
| 12 | 28ms | 368kb | Killed by signal 11(SIGSEGV). | 0 |
| 13 | 12ms | 384kb | Killed by signal 11(SIGSEGV). | 0 |
| 14 | 12ms | 400kb | OK | 5 |
| 15 | 64ms | 404kb | OK | 5 |
| 16 | 0ms | 296kb | OK | 5 |
| 17 | 12ms | 404kb | OK | 5 |
| 18 | 4ms | 464kb | Killed by signal 11(SIGSEGV). | 0 |
| 19 | 0ms | 272kb | OK | 5 |
| 20 | 0ms | 288kb | OK | 5 |
| Punctaj total | 85 |