Pagini recente » Borderou de evaluare (job #3123292) | Borderou de evaluare (job #2635403) | Borderou de evaluare (job #1803888) | Borderou de evaluare (job #2825552) | Borderou de evaluare (job #1441487)
Borderou de evaluare (job #1441487)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:42:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:45:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &p[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:72: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:73: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:76:20: 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 | 72ms | 284kb | OK | 100 |
Punctaj total | 100 |