Borderou de evaluare (job #1652621)

Utilizator BlueStrutAndrei Prahoveanu BlueStrut Data 15 martie 2016 10:23:59
Problema Sarac Sau Rege Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:15:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("saracsaurege.in","r",stdin); ^ user.cpp:16:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("saracsaurege.out","w",stdout); ^ user.cpp:17:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &m); ^ user.cpp:18:40: 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", &x); a.push_back(make_pair(x,i));} ^ user.cpp:21:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &x, &y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms272kbOK10
20ms292kbOK10
3884ms400kbOK10
4728ms288kbOK10
5120ms776kbOK10
668ms780kbOK10
7Depăşit768kbTime limit exceeded.0
8Depăşit772kbTime limit exceeded.0
9Depăşit780kbTime limit exceeded.0
10Depăşit768kbTime limit exceeded.0
Punctaj total60

Ceva nu functioneaza?