Pagini recente » Borderou de evaluare (job #58891) | Borderou de evaluare (job #2441496) | Borderou de evaluare (job #928948) | Borderou de evaluare (job #461866) | Borderou de evaluare (job #2075019)
Borderou de evaluare (job #2075019)
Raport evaluator
Compilare:
user.cpp: In function ‘void rez(int)’:
user.cpp:10:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &pb, &x);
^
user.cpp: In function ‘int main()’:
user.cpp:32: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:33: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:34:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:36:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &a[i]);
^
user.cpp:39:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d \n", &m);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 452kb | OK | 10 | 10 |
2 | 0ms | 448kb | OK | 10 | 10 |
3 | 0ms | 452kb | OK | 10 | 10 |
4 | 4ms | 460kb | OK | 10 | 10 |
5 | 28ms | 488kb | OK | 10 | 20 |
6 | 100ms | 648kb | OK | 10 |
7 | 148ms | 844kb | OK | 10 | 40 |
8 | 148ms | 840kb | OK | 10 |
9 | 156ms | 840kb | OK | 10 |
10 | 156ms | 836kb | OK | 10 |
Punctaj total | 100 |