Pagini recente » Cod sursa (job #1122911) | Cod sursa (job #2169650) | Cod sursa (job #340364) | Cod sursa (job #1238288) | Borderou de evaluare (job #2346886)
Borderou de evaluare (job #2346886)
Raport evaluator
Compilare:
main.cpp: In function 'void solutie(long long int, long long int, long long int)':
main.cpp:11:33: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d %d\n",st+1,st);
^
main.cpp:11:33: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
main.cpp:17:31: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d %d\n",dr,st);
^
main.cpp:17:31: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
main.cpp: In function 'int main()':
main.cpp:29:32: 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:30:34: 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:31:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld",&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 | 2ms | 131kb | Corect | 4 |
| 11 | 3ms | 131kb | Corect | 4 |
| 12 | 11ms | 786kb | Corect | 4 |
| 13 | 34ms | 2359kb | Corect | 5 |
| 14 | 49ms | 3407kb | Corect | 5 |
| 15 | 61ms | 4063kb | Corect | 5 |
| 16 | 60ms | 4063kb | Corect | 5 |
| 17 | 63ms | 4325kb | Corect | 5 |
| 18 | 67ms | 4456kb | Corect | 6 |
| 19 | 66ms | 4456kb | Corect | 6 |
| Punctaj total | 100 |