Borderou de evaluare (job #2074943)
Raport evaluator
Compilare:
user.cpp: In function ‘void cerinta0(int)’:
user.cpp:8:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d \n", &x);
^
user.cpp: In function ‘void cerinta1(int)’:
user.cpp:27:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d \n", &x);
^
user.cpp: In function ‘void cerinta2(int)’:
user.cpp:45:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d \n", &x);
^
user.cpp: In function ‘int main()’:
user.cpp:63:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cautbin.in", "r", stdin);
^
user.cpp:64:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cautbin.out", "w", stdout);
^
user.cpp:65:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d \n", &n);
^
user.cpp:67:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d, ", &a[i]);
^
user.cpp:68:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d \n", &m);
^
user.cpp:72:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d, ", &intrebare);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 268kb | OK | 10 | 10 |
2 | 0ms | 264kb | OK | 10 | 10 |
3 | 0ms | 264kb | OK | 10 | 10 |
4 | 4ms | 268kb | OK | 10 | 10 |
5 | 24ms | 304kb | OK | 10 | 20 |
6 | 88ms | 464kb | OK | 10 |
7 | 132ms | 652kb | OK | 10 | 40 |
8 | 136ms | 652kb | OK | 10 |
9 | 136ms | 656kb | OK | 10 |
10 | 136ms | 656kb | OK | 10 |
Punctaj total | 100 |