Pagini recente » Borderou de evaluare (job #791521) | Borderou de evaluare (job #3167844) | Borderou de evaluare (job #1121347) | Borderou de evaluare (job #1916351) | Borderou de evaluare (job #1334931)
Borderou de evaluare (job #1334931)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:39:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i1=0; i1<a[j].size(); ++i1)
^
user.cpp:33:21: warning: unused variable ‘s’ [-Wunused-variable]
double s1=0,s=0;
^
user.cpp:29:10: warning: unused variable ‘es’ [-Wunused-variable]
bool es=true;
^
user.cpp:14:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("reteta.in","r",stdin);
^
user.cpp:15:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("reteta.out","w",stdout);
^
user.cpp:16:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:21:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&type,&nr);
^
user.cpp:25:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:30:46: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=1; i<=n; ++i) scanf("%d",&cost[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 284kb | OK | 10 |
| 2 | 0ms | 276kb | OK | 10 |
| 3 | 0ms | 280kb | OK | 10 |
| 4 | 0ms | 276kb | OK | 10 |
| 5 | 0ms | 276kb | OK | 10 |
| 6 | 0ms | 280kb | OK | 10 |
| 7 | 4ms | 284kb | OK | 10 |
| 8 | 4ms | 280kb | OK | 10 |
| 9 | 12ms | 284kb | OK | 10 |
| 10 | 4ms | 276kb | OK | 10 |
| Punctaj total | 100 |