Pagini recente » Monitorul de evaluare | Profil algtgv | Borderou de evaluare (job #2021757)
Borderou de evaluare (job #2021757)
Raport evaluator
Compilare:
user.cpp: In function ‘void Solve()’:
user.cpp:30:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for ( i = 1 ; i <= n ; i ++ )
^
user.cpp:31:29: warning: format ‘%llu’ expects argument of type ‘long long unsigned int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf ( "%llu" , &x ) , mn = minim(mn,x) , mx = maxim(mx,x);
^
user.cpp:28:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ( "%llu" , &n );
^
user.cpp:31:68: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ( "%llu" , &x ) , mn = minim(mn,x) , mx = maxim(mx,x);
^
user.cpp: In function ‘int main()’:
user.cpp:39:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ( IN , "r" , stdin );
^
user.cpp:40:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ( OUT , "w" , stdout );
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 32ms | 280kb | OK | 20 |
2 | 0ms | 276kb | OK | 20 |
3 | 0ms | 280kb | OK | 20 |
4 | 28ms | 272kb | OK | 20 |
5 | 28ms | 272kb | OK | 20 |
Punctaj total | 100 |