Pagini recente » Borderou de evaluare (job #1598066) | Borderou de evaluare (job #1584540) | Borderou de evaluare (job #1742332) | Borderou de evaluare (job #2819150) | Borderou de evaluare (job #1598057)
Borderou de evaluare (job #1598057)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:23:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d ",&a[i]);
^
user.cpp: In function ‘void afisare()’:
user.cpp:92:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d ",a[i]);
^
user.cpp: In function ‘void citire()’:
user.cpp:20:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n",&n,&k);
^
user.cpp:23:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&a[i]);
^
user.cpp: In function ‘void v1()’:
user.cpp:29:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n",&n,&k);
^
user.cpp:35:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&x);
^
user.cpp: In function ‘int main()’:
user.cpp:98: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:99: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:101:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&x);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 244kb | lungimile formeaza triunghi ! | 0 |
| 2 | 0ms | 252kb | Corect | 5 |
| 3 | 0ms | 248kb | Corect | 5 |
| 4 | 0ms | 252kb | Corect | 5 |
| 5 | 0ms | 252kb | Corect | 5 |
| 6 | 0ms | 248kb | Corect | 5 |
| 7 | 0ms | 252kb | Corect | 5 |
| 8 | 0ms | 244kb | Corect ! | 5 |
| 9 | 0ms | 244kb | Corect ! | 5 |
| 10 | 0ms | 228kb | Lungimi invalide in OUTPUT | 0 |
| 11 | 0ms | 248kb | lungimile formeaza triunghi ! | 0 |
| 12 | 0ms | 244kb | lungimile formeaza triunghi ! | 0 |
| 13 | 0ms | 244kb | lungimile formeaza triunghi ! | 0 |
| 14 | 0ms | 248kb | lungimile formeaza triunghi ! | 0 |
| 15 | 0ms | 244kb | lungimile formeaza triunghi ! | 0 |
| 16 | 0ms | 244kb | Corect ! | 5 |
| 17 | 0ms | 252kb | Corect ! | 5 |
| 18 | 0ms | 248kb | lungimile formeaza triunghi ! | 0 |
| 19 | 0ms | 248kb | lungimile formeaza triunghi ! | 0 |
| 20 | 0ms | 252kb | lungimile formeaza triunghi ! | 0 |
| Punctaj total | 50 |