Borderou de evaluare (job #1612969)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:63: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(!stiva.empty() && stiva.top()<x && stiva.size()+n-i>=m)
^
user.cpp:18:70: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(!stiva.empty() && stiva.top()<x && stiva.size()+n-i>=m)
^
user.cpp:25:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(stiva.empty() || stiva.size()<m)
^
user.cpp:7: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:8: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:10:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d ",&n,&m);
^
user.cpp:14:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c ",&x);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 272kb | OK | 10 |
| 2 | 0ms | 276kb | OK | 10 |
| 3 | 0ms | 280kb | OK | 10 |
| 4 | 0ms | 284kb | OK | 10 |
| 5 | 0ms | 284kb | OK | 10 |
| 6 | 20ms | 580kb | OK | 10 |
| 7 | 16ms | 420kb | OK | 10 |
| 8 | Depăşit | 412kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 1848kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 420kb | Time limit exceeded. | 0 |
| Punctaj total | 70 |