Pagini recente » Borderou de evaluare (job #511572) | Borderou de evaluare (job #2951671) | Borderou de evaluare (job #3122352) | Borderou de evaluare (job #1777378) | Borderou de evaluare (job #1262438)
Borderou de evaluare (job #1262438)
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 | 280kb | OK | 10 |
3 | 0ms | 284kb | OK | 10 |
4 | 0ms | 276kb | OK | 10 |
5 | 0ms | 284kb | OK | 10 |
6 | 0ms | 472kb | OK | 10 |
7 | 4ms | 416kb | OK | 10 |
8 | 28ms | 2168kb | OK | 10 |
9 | 24ms | 3032kb | OK | 10 |
10 | 28ms | 2236kb | OK | 10 |
Punctaj total | 100 |