Pagini recente » Borderou de evaluare (job #2825439) | Borderou de evaluare (job #3307522) | Borderou de evaluare (job #3315923) | Borderou de evaluare (job #3312387) | Borderou de evaluare (job #2293093)
Borderou de evaluare (job #2293093)
Raport evaluator
Compilare:
main.cpp: In function 'int rob(int)':
main.cpp:36:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=i+1;j<v1.size() && v1[j].x<l2+n;j++) {
~^~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:49:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("roboti2.in","r",stdin);
^
main.cpp:50:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("roboti2.out","w",stdout);
^
main.cpp:52:38: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d", &p, &n, &m, &t);
^
main.cpp:55:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
main.cpp:61:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &nr);
^
main.cpp:66:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &q);
^
main.cpp:69:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &k);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | OK | 5 |
| 2 | 2ms | 131kb | OK | 5 |
| 3 | 2ms | 131kb | OK | 5 |
| 4 | 2ms | 131kb | OK | 5 |
| 5 | 2ms | 131kb | OK | 5 |
| 6 | 2ms | 131kb | OK | 5 |
| 7 | 3ms | 131kb | OK | 5 |
| 8 | 3ms | 131kb | OK | 5 |
| 9 | 3ms | 131kb | OK | 5 |
| 10 | 3ms | 131kb | OK | 5 |
| 11 | 2ms | 131kb | OK | 5 |
| 12 | 3ms | 131kb | OK | 5 |
| 13 | 5ms | 131kb | OK | 5 |
| 14 | 12ms | 131kb | OK | 5 |
| 15 | 32ms | 131kb | OK | 5 |
| 16 | 49ms | 131kb | OK | 5 |
| 17 | 62ms | 131kb | OK | 5 |
| 18 | 72ms | 131kb | OK | 5 |
| 19 | 101ms | 131kb | Time limit exceeded | 0 |
| 20 | 103ms | 131kb | Time limit exceeded | 0 |
| Punctaj total | 90 |