Borderou de evaluare (job #2658820)

Utilizator bogdi1bogdan bancuta bogdi1 Data 15 octombrie 2020 10:51:13
Problema Atlas Status done
Runda Arhiva de probleme Compilator cpp-32 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:47:30: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=] scanf("%d", &v[i]); ^ main.cpp:39:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] { freopen("atlas.in", "r", stdin); ^ main.cpp:40:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("atlas.out", "w", stdout); ^ main.cpp:43:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &t); ^ main.cpp:45:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ main.cpp:47:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &v[i]); ^ main.cpp:48:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &q); ^ main.cpp:78:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%lld", &x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
141ms655kbOK10
241ms786kbOK10
3901ms12582kbOK10
4753ms12582kbOK10
5729ms12595kbOK10
6736ms12713kbOK10
7759ms12845kbOK10
8752ms12713kbOK10
9757ms12451kbOK10
10765ms12713kbOK10
Punctaj total100

Ceva nu functioneaza?