Pagini recente » Borderou de evaluare (job #1991221) | Borderou de evaluare (job #2623071) | Borderou de evaluare (job #2623073) | Borderou de evaluare (job #2158961) | Borderou de evaluare (job #2172376)
Borderou de evaluare (job #2172376)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:84:14: warning: unused variable ‘x’ [-Wunused-variable]
int r,x,tip;
^
user.cpp:70: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:71: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:72:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&m,&n);
^
user.cpp:75:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&r);
^
user.cpp:76:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int j=1;j<=r;j++)scanf("%d",&x);
^
user.cpp:79:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&cm[i]);
^
user.cpp:81: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:82:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&m,&n);
^
user.cpp:85:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&tip,&r);
^
user.cpp:88:61: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&mat[i][j]),cost[i]+=(float)cm[mat[i][j]];
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 2888kb | OK | 10 |
2 | 4ms | 2672kb | OK | 10 |
3 | 4ms | 2912kb | OK | 10 |
4 | 4ms | 3004kb | OK | 10 |
5 | 4ms | 2812kb | OK | 10 |
6 | 4ms | 2820kb | OK | 10 |
7 | 8ms | 2812kb | OK | 10 |
8 | 8ms | 2964kb | OK | 10 |
9 | 8ms | 2884kb | OK | 10 |
10 | 8ms | 2672kb | OK | 10 |
Punctaj total | 100 |