Pagini recente » Borderou de evaluare (job #2486223) | Borderou de evaluare (job #2086650) | Borderou de evaluare (job #3226710) | Borderou de evaluare (job #110777) | Borderou de evaluare (job #2342161)
Borderou de evaluare (job #2342161)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:20:32: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d ",st[nr]);
^
main.cpp:21:35: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d\n",st[nr-1]);
^
main.cpp:27:43: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
for (i=nr;i>=1;i--){printf("%d ",st[i]);printf("%d\n",st[i-1]);}
^
main.cpp:27:66: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
for (i=nr;i>=1;i--){printf("%d ",st[i]);printf("%d\n",st[i-1]);}
^
main.cpp:12: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:13: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:14:28: 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 | 3ms | 131kb | Corect | 4 |
| 11 | 3ms | 131kb | Corect | 4 |
| 12 | 11ms | 393kb | Corect | 4 |
| 13 | 34ms | 1048kb | Corect | 5 |
| 14 | 63ms | 1683kb | Corect | 5 |
| 15 | 66ms | 917kb | Corect | 5 |
| 16 | 64ms | 917kb | Corect | 5 |
| 17 | 65ms | 1048kb | Corect | 5 |
| 18 | 64ms | 1179kb | Corect | 6 |
| 19 | 68ms | 2097kb | Corect | 6 |
| Punctaj total | 100 |