Pagini recente » Borderou de evaluare (job #166277) | Borderou de evaluare (job #1215273) | Borderou de evaluare (job #963953) | Borderou de evaluare (job #2826975) | Borderou de evaluare (job #1384217)
Borderou de evaluare (job #1384217)
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:11: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:12: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 | 480kb | OK | 10 |
2 | 0ms | 480kb | OK | 10 |
3 | 0ms | 484kb | OK | 10 |
4 | 0ms | 492kb | OK | 10 |
5 | 0ms | 484kb | OK | 10 |
6 | 20ms | 916kb | OK | 10 |
7 | 16ms | 744kb | OK | 10 |
8 | Depăşit | 1160kb | Time limit exceeded. | 0 |
9 | Depăşit | 2440kb | Time limit exceeded. | 0 |
10 | Depăşit | 1344kb | Time limit exceeded. | 0 |
Punctaj total | 70 |