Pagini recente » Borderou de evaluare (job #2400838) | Borderou de evaluare (job #2260518) | Borderou de evaluare (job #2618796) | Borderou de evaluare (job #1603851) | Borderou de evaluare (job #1442123)
Borderou de evaluare (job #1442123)
Raport evaluator
Compilare:
user.cpp: In function ‘void calc_poz(int)’:
user.cpp:44:9: warning: unused variable ‘scor’ [-Wunused-variable]
int scor = pre[poz] + freeze[poz];
^
user.cpp: In function ‘void solve()’:
user.cpp:206:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &n);
^
user.cpp:208: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:222: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:223: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:225: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 | 6140ms | 380kb | Incorect | 0 |
Punctaj total | 0 |