Pagini recente » Borderou de evaluare (job #592853) | Borderou de evaluare (job #3168686) | Borderou de evaluare (job #351235) | Borderou de evaluare (job #376223) | Borderou de evaluare (job #1593496)
Borderou de evaluare (job #1593496)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:25:25: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if(nr[i]==0 && nr[i-1]!=0 || nr[i]==0 && nr[i+1]!=0)
^
user.cpp:32:25: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if(nr[i]==0 && nr[i-1]!=0 || nr[i]==0 && nr[i+1]!=0)
^
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("numere5.in","r",stdin);
^
user.cpp:9:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("numere5.out","w",stdout);
^
user.cpp:10:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:15:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &data);
^
user.cpp:18:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d/n", &data);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 64ms | 620kb | OK | 10 | 0 |
| 2 | 0ms | 436kb | OK | 10 |
| 3 | 76ms | Depăşit | Memory limit exceeded. | 0 |
| 4 | 44ms | 576kb | OK | 10 |
| 5 | 104ms | Depăşit | Memory limit exceeded. | 0 |
| 6 | 108ms | 464kb | Wall time limit exceeded. | 0 | 0 |
| 7 | 124ms | Depăşit | Memory limit exceeded. | 0 |
| 8 | 128ms | Depăşit | Memory limit exceeded. | 0 |
| 9 | 104ms | 424kb | Wall time limit exceeded. | 0 |
| 10 | 128ms | 672kb | Wall time limit exceeded. | 0 |
| Punctaj total | 0 |