Pagini recente » Borderou de evaluare (job #2678294) | Borderou de evaluare (job #1658679) | Borderou de evaluare (job #1199845) | Borderou de evaluare (job #1702688) | Borderou de evaluare (job #1609779)
Borderou de evaluare (job #1609779)
Raport evaluator
Compilare:
user.cpp: In function ‘void _transform(std::string&, std::string&)’:
user.cpp:77:39: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if ( first_use[S.top()] < first_use[e] ) break;
^
user.cpp:77:54: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if ( first_use[S.top()] < first_use[e] ) break;
^
user.cpp:74:22: warning: unused variable ‘c’ [-Wunused-variable]
char c = S.top();
^
user.cpp: In function ‘void get_string(std::string&)’:
user.cpp:41:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n", s);
^
user.cpp: In function ‘int main()’:
user.cpp:137:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("logic.in","r",stdin);
^
user.cpp:138:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("logic.out","w",stdout);
^
user.cpp:145:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 428kb | OK | 10 |
2 | 0ms | 424kb | OK | 10 |
3 | 0ms | 432kb | OK | 10 |
4 | 0ms | 424kb | OK | 10 |
5 | 4ms | 428kb | OK | 10 |
6 | 0ms | 424kb | OK | 10 |
7 | 0ms | 432kb | OK | 10 |
8 | 0ms | 424kb | OK | 10 |
9 | 0ms | 432kb | OK | 10 |
10 | 0ms | 432kb | OK | 10 |
Punctaj total | 100 |