Pagini recente » Cod sursa (job #2832342) | Cod sursa (job #1641412) | Cod sursa (job #2986915) | Cod sursa (job #2601308) | Borderou de evaluare (job #2021837)
Borderou de evaluare (job #2021837)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("permutare4.in","r",stdin);
^
user.cpp:14:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("permutare4.out","w",stdout);
^
user.cpp:24:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&tip,&n);
^
user.cpp:28:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
user.cpp:29:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
user.cpp:46:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&poz);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 16ms | 7208kb | OK | 10 |
2 | 64ms | 7208kb | OK | 10 |
3 | 424ms | 7216kb | OK | 10 |
4 | 448ms | 7220kb | OK | 10 |
5 | 428ms | 7220kb | OK | 10 |
6 | 384ms | 7220kb | OK | 10 |
7 | 428ms | 7212kb | OK | 10 |
8 | 60ms | 7208kb | OK | 10 |
9 | 16ms | 7212kb | OK | 10 |
10 | 12ms | 7212kb | OK | 10 |
Punctaj total | 100 |