Pagini recente » Borderou de evaluare (job #451127) | Borderou de evaluare (job #913780) | Borderou de evaluare (job #81508) | Borderou de evaluare (job #1656620) | Borderou de evaluare (job #1390777)
Borderou de evaluare (job #1390777)
Raport evaluator
Compilare:
user.cpp: In function ‘void mooreMajority(int, int)’:
user.cpp:10:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
user.cpp: In function ‘void rezolva_problema()’:
user.cpp:28:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &T);
^
user.cpp:31:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:35:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("avarcolaci.in", "r", stdin);
^
user.cpp:36:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &T);
^
user.cpp:40:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:44:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
user.cpp: In function ‘int main()’:
user.cpp:56:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("avarcolaci.in", "r", stdin);
^
user.cpp:57:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("avarcolaci.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | OK | 10 |
2 | 0ms | 256kb | OK | 10 |
3 | 0ms | 260kb | OK | 10 |
4 | 0ms | 260kb | OK | 10 |
5 | 476ms | 260kb | OK | 10 |
6 | 656ms | 252kb | OK | 10 |
7 | 448ms | 256kb | OK | 10 |
8 | 684ms | 252kb | OK | 10 |
9 | 5488ms | 256kb | OK | 10 |
10 | 3704ms | 260kb | OK | 10 |
Punctaj total | 100 |