Pagini recente » Borderou de evaluare (job #1445538) | Borderou de evaluare (job #681706) | Borderou de evaluare (job #1858562) | Borderou de evaluare (job #880211) | Borderou de evaluare (job #2052529)
Borderou de evaluare (job #2052529)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:20:42: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d",&a[i-j+1][i-lin+1]);
^
user.cpp:10:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("triunghi3.in","r",stdin);
^
user.cpp:11:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("triunghi3.out","w",stdout);
^
user.cpp:13:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:20:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i-j+1][i-lin+1]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 504kb | OK | 10 |
2 | 0ms | 516kb | OK | 10 |
3 | 0ms | 516kb | OK | 10 |
4 | 24ms | 7528kb | OK | 10 |
5 | 4ms | 2216kb | OK | 10 |
6 | 68ms | 12824kb | OK | 10 |
7 | 88ms | 14600kb | OK | 10 |
8 | 108ms | 16364kb | OK | 10 |
9 | 132ms | 18116kb | OK | 10 |
10 | 128ms | 18124kb | OK | 10 |
Punctaj total | 100 |