Pagini recente » Borderou de evaluare (job #3122379) | Borderou de evaluare (job #1051429) | Borderou de evaluare (job #132989) | Borderou de evaluare (job #521932) | Borderou de evaluare (job #1417030)
Borderou de evaluare (job #1417030)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:27:9: warning: array subscript has type ‘char’ [-Wchar-subscripts]
v[c1]++;
^
user.cpp:31:12: warning: array subscript has type ‘char’ [-Wchar-subscripts]
v[c]++;
^
user.cpp:6:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("numar3.in","r",stdin);
^
user.cpp:7:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("numar3.out","w",stdout);
^
user.cpp:8:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:9:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&c1);
^
user.cpp:12:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&c2);
^
user.cpp:18:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("numar3.in","r",stdin);
^
user.cpp:19:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:21:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&c);
^
user.cpp:25:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&c1);
^
user.cpp:29:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&c);
^
user.cpp:28:14: warning: ‘p’ may be used uninitialized in this function [-Wmaybe-uninitialized]
for(i=p+1;i<=n;i++){
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 244kb | OK | 10 |
2 | 0ms | 248kb | OK | 10 |
3 | 0ms | 248kb | OK | 10 |
4 | 40ms | 244kb | OK | 10 |
5 | 296ms | 248kb | OK | 10 |
6 | 648ms | 244kb | OK | 10 |
7 | Depăşit | 252kb | Time limit exceeded. | 0 |
8 | Depăşit | 244kb | Time limit exceeded. | 0 |
9 | Depăşit | 248kb | Time limit exceeded. | 0 |
10 | Depăşit | 244kb | Time limit exceeded. | 0 |
Punctaj total | 60 |