Pagini recente » Borderou de evaluare (job #1214708) | Borderou de evaluare (job #2143985) | Borderou de evaluare (job #865330) | Borderou de evaluare (job #114257) | 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 |