Pagini recente » Borderou de evaluare (job #154216) | Borderou de evaluare (job #2618737) | Borderou de evaluare (job #1598119) | Cod sursa (job #1228024) | Borderou de evaluare (job #1597998)
Borderou de evaluare (job #1597998)
Raport evaluator
Compilare:
user.cpp: In function ‘void v1()’:
user.cpp:29:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d ",a[i]);
^
user.cpp:9: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:15: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:35: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:36: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:38: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 | 236kb | Lungimi invalide in OUTPUT | 0 |
| 2 | 0ms | 256kb | Corect | 5 |
| 3 | 0ms | 264kb | Corect | 5 |
| 4 | 0ms | 256kb | Corect | 5 |
| 5 | 0ms | 256kb | Corect | 5 |
| 6 | 0ms | 260kb | Corect | 5 |
| 7 | 0ms | 260kb | Corect | 5 |
| 8 | 0ms | 240kb | Lungimi invalide in OUTPUT | 0 |
| 9 | 0ms | 244kb | Lungimi invalide in OUTPUT | 0 |
| 10 | 0ms | 240kb | Lungimi invalide in OUTPUT | 0 |
| 11 | 0ms | 240kb | Lungimi invalide in OUTPUT | 0 |
| 12 | 0ms | 240kb | Lungimi invalide in OUTPUT | 0 |
| 13 | 0ms | 240kb | Lungimi invalide in OUTPUT | 0 |
| 14 | 0ms | 236kb | Lungimi invalide in OUTPUT | 0 |
| 15 | 0ms | 240kb | Lungimi invalide in OUTPUT | 0 |
| 16 | 0ms | 240kb | Lungimi invalide in OUTPUT | 0 |
| 17 | 0ms | 236kb | Lungimi invalide in OUTPUT | 0 |
| 18 | 0ms | 236kb | Lungimi invalide in OUTPUT | 0 |
| 19 | 0ms | 236kb | Lungimi invalide in OUTPUT | 0 |
| 20 | 0ms | 236kb | Lungimi invalide in OUTPUT | 0 |
| Punctaj total | 30 |