Pagini recente » Borderou de evaluare (job #2056349) | Borderou de evaluare (job #1884264) | Borderou de evaluare (job #2870947) | Borderou de evaluare (job #1099732) | Borderou de evaluare (job #1383418)
Borderou de evaluare (job #1383418)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:19:65: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(!St.empty() && s[i]-'0'>St.top() && St.size()+n-i>=m) St.pop();
^
user.cpp:12:34: 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:13:36: 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:14:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:17:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&s[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 288kb | Incorect | 0 |
2 | 0ms | 288kb | Incorect | 0 |
3 | 0ms | 292kb | Incorect | 0 |
4 | 0ms | 296kb | Incorect | 0 |
5 | 0ms | 296kb | Incorect | 0 |
6 | 20ms | 688kb | Incorect | 0 |
7 | 12ms | 524kb | Incorect | 0 |
8 | Depăşit | 1056kb | Time limit exceeded. | 0 |
9 | Depăşit | 2752kb | Time limit exceeded. | 0 |
10 | Depăşit | 1448kb | Time limit exceeded. | 0 |
Punctaj total | 0 |