Pagini recente » Borderou de evaluare (job #1628502) | Borderou de evaluare (job #422011) | Borderou de evaluare (job #1152842) | Borderou de evaluare (job #1661880) | Borderou de evaluare (job #1383419)
Borderou de evaluare (job #1383419)
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:22: 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 | OK | 10 |
2 | 0ms | 280kb | OK | 10 |
3 | 0ms | 284kb | OK | 10 |
4 | 0ms | 296kb | OK | 10 |
5 | 0ms | 288kb | OK | 10 |
6 | 20ms | 680kb | OK | 10 |
7 | 16ms | 524kb | OK | 10 |
8 | Depăşit | 1324kb | Time limit exceeded. | 0 |
9 | Depăşit | 3120kb | Time limit exceeded. | 0 |
10 | Depăşit | 1656kb | Time limit exceeded. | 0 |
Punctaj total | 70 |