Pagini recente » Borderou de evaluare (job #2940857) | Borderou de evaluare (job #2383928) | Cod sursa (job #2341081) | Borderou de evaluare (job #723682) | Borderou de evaluare (job #1609775)
Borderou de evaluare (job #1609775)
Raport evaluator
Compilare:
user.cpp: In function ‘int _transform(std::string&, std::string&)’:
user.cpp:78:39: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if ( first_use[S.top()] < first_use[e] ) break;
^
user.cpp:78:54: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if ( first_use[S.top()] < first_use[e] ) break;
^
user.cpp:75: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:141: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:142: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:149: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 | 64ms | 432kb | OK | 10 |
2 | 0ms | 432kb | OK | 10 |
3 | Depăşit | 404kb | Time limit exceeded. | 0 |
4 | 0ms | 428kb | OK | 10 |
5 | 4ms | 428kb | OK | 10 |
6 | 0ms | 428kb | OK | 10 |
7 | 0ms | 440kb | OK | 10 |
8 | 0ms | 428kb | OK | 10 |
9 | 0ms | 432kb | OK | 10 |
10 | Depăşit | 412kb | Time limit exceeded. | 0 |
Punctaj total | 80 |