Borderou de evaluare (job #586175)

Utilizator avatar mateilb1234 Matei Balaur mateilb1234 IP ascuns
Problemă 2numere (baraj gimnaziu) Compilator cpp-32
Rundă Baraj gimnaziu Status evaluat
Dată 15 mar. 2021 14:12:46 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:5:9: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] 5 | freopen("2numere.in","r",stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:6:9: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] 6 | freopen("2numere.out","w",stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:7:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] 7 | scanf("%ld",&n); | ~~~~~^~~~~~~~~~ main.cpp:10:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] 10 | scanf("%ld",&a); | ~~~~~^~~~~~~~~~ main.cpp:15:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] 15 | scanf("%ld",&b); | ~~~~~^~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 262 kb OK 10
2 1 ms 262 kb OK 10
3 2 ms 262 kb OK 10
4 1 ms 262 kb OK 10
5 1 ms 262 kb OK 10
6 1 ms 262 kb OK 10
7 1 ms 262 kb OK 10
8 1 ms 262 kb OK 10
9 1 ms 262 kb OK 10
10 1 ms 262 kb OK 10
Punctaj total 100