Pagini recente » Borderou de evaluare (job #2674830) | Borderou de evaluare (job #3128620) | Borderou de evaluare (job #1440286) | Borderou de evaluare (job #2834780) | Borderou de evaluare (job #1440452)
Borderou de evaluare (job #1440452)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:27:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m);
^
user.cpp:29:50: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &v[i].first, &v[i].second);
^
user.cpp: In function ‘int main()’:
user.cpp:48:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("teme.in", "r", stdin);
^
user.cpp:49:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("teme.out", "w", stdout);
^
user.cpp:51:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
int t; scanf("%d\n", &t);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 244ms | 540kb | OK | 100 |
Punctaj total | 100 |