Pagini recente » Borderou de evaluare (job #370572) | Borderou de evaluare (job #2041793) | Borderou de evaluare (job #2095639) | Borderou de evaluare (job #1939885) | Borderou de evaluare (job #580327)
Borderou de evaluare (job #580327)
Raport evaluator
Compilare:
user.cpp: In function ‘void in_doua()’:
user.cpp:23:20: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
while ((v[p2]==0)&&(p2<n)||(p2==p1))
^
user.cpp: In function ‘int main()’:
user.cpp:57:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("borcane.in","r",stdin);
^
user.cpp:58:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("borcane.out","w",stdout);
^
user.cpp:59:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&n);
^
user.cpp:61:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&v[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 268kb | OK! | 10 |
| 2 | 0ms | 272kb | OK! | 10 |
| 3 | 0ms | 264kb | OK! | 10 |
| 4 | 0ms | 264kb | OK! | 10 |
| 5 | 0ms | 268kb | OK! | 10 |
| 6 | 4ms | 260kb | OK! | 10 |
| 7 | 8ms | 264kb | OK! | 10 |
| 8 | 12ms | 264kb | OK! | 10 |
| 9 | 24ms | 264kb | OK! | 10 |
| 10 | 0ms | 268kb | OK! | 10 |
| Punctaj total | 100 |