Pagini recente » Borderou de evaluare (job #275805) | Borderou de evaluare (job #240685) | Borderou de evaluare (job #474593) | Borderou de evaluare (job #488801) | Borderou de evaluare (job #1262440)
Borderou de evaluare (job #1262440)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:19: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[1000000]’ [-Wformat=]
scanf("%s", &x);
^
user.cpp:24:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(st.size()<m){
^
user.cpp:9:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trompeta.in","r", stdin);
^
user.cpp:10:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trompeta.out","w", stdout);
^
user.cpp:13:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
user.cpp:15:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 284kb | OK | 10 |
2 | 0ms | 284kb | OK | 10 |
3 | 0ms | 284kb | OK | 10 |
4 | 0ms | 284kb | OK | 10 |
5 | 0ms | 288kb | OK | 10 |
6 | 0ms | 472kb | OK | 10 |
7 | 4ms | 420kb | OK | 10 |
8 | 28ms | 2168kb | OK | 10 |
9 | 24ms | 3044kb | OK | 10 |
10 | 28ms | 2244kb | OK | 10 |
Punctaj total | 100 |