Pagini recente » Borderou de evaluare (job #305275) | Borderou de evaluare (job #1983011) | Borderou de evaluare (job #1405604) | Borderou de evaluare (job #3255287) | Borderou de evaluare (job #1442132)
Borderou de evaluare (job #1442132)
Raport evaluator
Compilare:
user.cpp: In function ‘void calc_poz(int)’:
user.cpp:47:9: warning: unused variable ‘scor’ [-Wunused-variable]
int scor = pre[poz] + freeze[poz];
^
user.cpp: In function ‘void solve()’:
user.cpp:209:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &n);
^
user.cpp:211:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d", &pre[i], &freeze[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:225:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(FILENAME ".in", "r", stdin);
^
user.cpp:226:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(FILENAME ".out", "w", stdout);
^
user.cpp:228:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &t);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 7104ms | 372kb | Incorect | 0 |
Punctaj total | 0 |