Pagini recente » Borderou de evaluare (job #2370601) | Borderou de evaluare (job #324096) | Borderou de evaluare (job #318105) | Borderou de evaluare (job #2551744) | Borderou de evaluare (job #2502427)
Borderou de evaluare (job #2502427)
Raport evaluator
Compilare:
main.cpp: In function 'void solve(int, int, long long int)':
main.cpp:19:33: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'int' [-Wformat=]
printf("%lld %lld\n",st+1,st);
^
main.cpp:19:33: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int' [-Wformat=]
main.cpp:24:31: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'int' [-Wformat=]
printf("%lld %lld\n",dr,st);
^
main.cpp:24:31: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int' [-Wformat=]
main.cpp: In function 'int main()':
main.cpp:30:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("galeti2.in","r",stdin);
^
main.cpp:31:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("galeti2.out","w",stdout);
^
main.cpp:32:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&e);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Corect | 10 |
2 | 2ms | 131kb | Corect | 5 |
3 | 2ms | 131kb | Corect | 6 |
4 | 2ms | 131kb | Corect | 7 |
5 | 2ms | 131kb | Corect | 5 |
6 | 2ms | 131kb | Corect | 5 |
7 | 2ms | 131kb | Corect | 5 |
8 | 2ms | 131kb | Corect | 4 |
9 | 2ms | 131kb | Corect | 4 |
10 | 3ms | 131kb | Corect | 4 |
11 | 3ms | 262kb | Corect | 4 |
12 | 12ms | 786kb | Corect | 4 |
13 | 35ms | 2359kb | Corect | 5 |
14 | 47ms | 3145kb | Nu s-a depus efortul cerut | 0 |
15 | 62ms | 4063kb | Corect | 5 |
16 | 62ms | 4063kb | Corect | 5 |
17 | 66ms | 4325kb | Corect | 5 |
18 | 68ms | 4456kb | Corect | 6 |
19 | 66ms | 4456kb | Nu s-a depus efortul cerut | 0 |
Punctaj total | 89 |