Pagini recente » Borderou de evaluare (job #672370) | Borderou de evaluare (job #2056510) | Borderou de evaluare (job #2411244) | Borderou de evaluare (job #136510) | Borderou de evaluare (job #1598084)
Borderou de evaluare (job #1598084)
Raport evaluator
Compilare:
user.cpp: In function ‘void med1(long long int)’:
user.cpp:9:19: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d ",x);
^
user.cpp:10:19: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d ",x);
^
user.cpp:18:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d ",y);
^
user.cpp: In function ‘int adaug_incep(int, int, int)’:
user.cpp:29:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d %d ",y,x);
^
user.cpp:29:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
user.cpp:36:42: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d %d %d",y,x,sir1[incep]);
^
user.cpp:36:42: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
user.cpp:36:42: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long long int’ [-Wformat=]
user.cpp:44:33: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d ",element);
^
user.cpp:50:33: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d ",sir1[incep]);
^
user.cpp:54:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘void adaug_final(int)’:
user.cpp:71:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d ",sir1[i]);
^
user.cpp:61:15: warning: unused variable ‘numar2’ [-Wunused-variable]
long long numar2 = 0;
^
user.cpp: In function ‘int main()’:
user.cpp:86:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d ",&l);
^
user.cpp:96:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d ",&sir1[i]);
^
user.cpp:78:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("triunghi5.in","r",stdin);
^
user.cpp:79:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("triunghi5.out","w",stdout);
^
user.cpp:80:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 432kb | Lungimi invalide in OUTPUT | 0 |
| 2 | 0ms | 428kb | Corect | 5 |
| 3 | 0ms | 424kb | Corect | 5 |
| 4 | 0ms | 424kb | Corect | 5 |
| 5 | 0ms | 432kb | Corect | 5 |
| 6 | 0ms | 424kb | Corect | 5 |
| 7 | 0ms | 424kb | Corect | 5 |
| 8 | 0ms | 428kb | Lungimi invalide in OUTPUT | 0 |
| 9 | 0ms | 428kb | Lungimi invalide in OUTPUT | 0 |
| 10 | 0ms | 428kb | lungimile formeaza triunghi ! | 0 |
| 11 | 0ms | 428kb | lungimile formeaza triunghi ! | 0 |
| 12 | 0ms | 428kb | lungimile formeaza triunghi ! | 0 |
| 13 | 0ms | 428kb | lungimile formeaza triunghi ! | 0 |
| 14 | 0ms | 424kb | Lungimi invalide in OUTPUT | 0 |
| 15 | 0ms | 428kb | Lungimi invalide in OUTPUT | 0 |
| 16 | 0ms | 428kb | Lungimi invalide in OUTPUT | 0 |
| 17 | 0ms | 432kb | Lungimi invalide in OUTPUT | 0 |
| 18 | 0ms | 428kb | Lungimi invalide in OUTPUT | 0 |
| 19 | 0ms | 428kb | lungimile formeaza triunghi ! | 0 |
| 20 | 0ms | 428kb | lungimile formeaza triunghi ! | 0 |
| Punctaj total | 30 |