Pagini recente » Borderou de evaluare (job #544399) | Borderou de evaluare (job #3237572) | Borderou de evaluare (job #3276025) | Borderou de evaluare (job #1104656) | Borderou de evaluare (job #1252849)
Borderou de evaluare (job #1252849)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:28:21: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
int pr=(1<<k-1);
^
user.cpp:13:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("plantatie.in","r",stdin);
^
user.cpp:14:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("plantatie.out","w",stdout);
^
user.cpp:15: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:17:53: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (j=1; j<=n; ++j) scanf("%d",&a[i][j][0]);
^
user.cpp:38:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&x,&y,&length);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 292kb | OK | 10 | 10 |
2 | 0ms | 420kb | OK | 10 | 10 |
3 | 0ms | 676kb | OK | 10 | 10 |
4 | 4ms | 1160kb | OK | 10 | 10 |
5 | 12ms | 1984kb | OK | 10 | 10 |
6 | 24ms | 3076kb | OK | 10 | 50 |
7 | 60ms | 6012kb | OK | 10 |
8 | 104ms | 9960kb | OK | 10 |
9 | 160ms | 13164kb | OK | 10 |
10 | 168ms | 13164kb | OK | 10 |
Punctaj total | 100 |