Pagini recente » Borderou de evaluare (job #2126381) | Borderou de evaluare (job #702479) | Borderou de evaluare (job #102290) | Borderou de evaluare (job #194829) | Borderou de evaluare (job #1459928)
Borderou de evaluare (job #1459928)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d" , &n) ;//f >> n ;
^
user.cpp:21:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d" , &x) ;//f >> x ;
^
user.cpp:25:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d" , &x) ;//f >> x ;
^
user.cpp:12:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("noname.in" , "r" , stdin) ;
^
user.cpp:13:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("noname.out" , "w" , stdout) ;
^
user.cpp:14:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d" , &n) ;//f >> n ;
^
user.cpp:21:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d" , &x) ;//f >> x ;
^
user.cpp:25:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d" , &x) ;//f >> x ;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 300kb | OK | 10 |
2 | 0ms | 308kb | OK | 10 |
3 | 0ms | 488kb | OK | 10 |
4 | 0ms | 492kb | OK | 10 |
5 | 204ms | 2260kb | OK | 10 |
6 | 204ms | 2256kb | OK | 10 |
7 | 212ms | 2256kb | OK | 10 |
8 | 216ms | 2260kb | OK | 10 |
9 | 184ms | 2260kb | OK | 10 |
10 | 188ms | 2260kb | OK | 10 |
Punctaj total | 100 |