Pagini recente » Borderou de evaluare (job #3302804) | Borderou de evaluare (job #3344778) | Borderou de evaluare (job #409831) | Borderou de evaluare (job #3348063) | Borderou de evaluare (job #1948263)
Borderou de evaluare (job #1948263)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:38:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arb3.in","r",stdin);
^
user.cpp:39:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arb3.out","w",stdout);
^
user.cpp:41:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&m);
^
user.cpp:44:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
v[tata[i]].push_back(i);
^
user.cpp:46:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&val[i]);
^
user.cpp:65:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&x,&y);
^
user.cpp: In function ‘int getAnswer(int, int)’:
user.cpp:32:32: warning: ‘sol’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int res=sum[tasu][sol]-(sol+1)*(val[nod]+1-x)+idx[nod];
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 4ms | 2780kb | OK | 10 |
| 2 | 4ms | 2788kb | OK | 10 |
| 3 | 24ms | 3064kb | OK | 10 |
| 4 | 44ms | 3332kb | OK | 10 |
| 5 | 140ms | 4304kb | OK | 10 |
| 6 | 184ms | 4480kb | OK | 10 |
| 7 | 188ms | 4764kb | OK | 10 |
| 8 | 216ms | 5008kb | OK | 10 |
| 9 | 240ms | 5272kb | OK | 10 |
| 10 | 236ms | 5272kb | OK | 10 |
| Punctaj total | 100 |