Pagini recente » Borderou de evaluare (job #1813756) | Borderou de evaluare (job #521473) | Borderou de evaluare (job #711422) | Borderou de evaluare (job #1739623) | Borderou de evaluare (job #2330654)
Borderou de evaluare (job #2330654)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:29:30: warning: format '%ld' expects argument of type 'long int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%ld %ld\n", &n, &m);
^
main.cpp:29:30: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'long long int*' [-Wformat=]
main.cpp:31:21: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'long long int' [-Wformat=]
printf("%ld", nr);
^
main.cpp:26:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("dreptunghi.in", "r", stdin);
^
main.cpp:27:43: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("dreptunghi.out", "w", stdout);
^
main.cpp:29:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld\n", &n, &m);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | OK | 5 | 100 |
2 | 2ms | 131kb | OK | 5 |
3 | 2ms | 131kb | OK | 5 |
4 | 2ms | 131kb | OK | 5 |
5 | 2ms | 131kb | OK | 5 |
6 | 2ms | 131kb | OK | 5 |
7 | 2ms | 131kb | OK | 5 |
8 | 2ms | 131kb | OK | 5 |
9 | 2ms | 131kb | OK | 5 |
10 | 2ms | 131kb | OK | 5 |
11 | 2ms | 131kb | OK | 5 |
12 | 2ms | 131kb | OK | 5 |
13 | 2ms | 131kb | OK | 5 |
14 | 2ms | 131kb | OK | 5 |
15 | 2ms | 131kb | OK | 5 |
16 | 2ms | 131kb | OK | 5 |
17 | 2ms | 131kb | OK | 5 |
18 | 2ms | 131kb | OK | 5 |
19 | 2ms | 131kb | OK | 5 |
20 | 2ms | 131kb | OK | 5 |
Punctaj total | 100 |